Created
January 28, 2014 23:39
-
-
Save trailmax/8678897 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Theory, AutoDomainData] | |
public void FrozenObjects_AreInjected_IntoSut([Frozen]ILocationAddressRepository repository, | |
CreateLocationAddressCommandHandler sut, CreateLocationAddressCommand command) | |
{ | |
// Act | |
sut.Handle(command); | |
// Assert | |
repository.Received().Insert(Arg.Any<LocationAddress>()); | |
repository.Received().Save(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment