Skip to content

Instantly share code, notes, and snippets.

@StevenTCramer
Last active February 5, 2016 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StevenTCramer/10564995870658973fb1 to your computer and use it in GitHub Desktop.
Save StevenTCramer/10564995870658973fb1 to your computer and use it in GitHub Desktop.
public void CreateProject()
{
var createProjectCommand = Resolve<Create.Command>();
createProjectCommand.Description = "Description";
Create.Result result = Send(createProjectCommand);
var project = Query(aDbContext => aDbContext.Projects.Find(result.ProjectId));
project.Description.ShouldEqual(createProjectCommand.Description);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment