Skip to content

Instantly share code, notes, and snippets.

@johanvergeer
Created May 19, 2019 14:24
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 johanvergeer/11795a249d1589e0bd43ba3119366e47 to your computer and use it in GitHub Desktop.
Save johanvergeer/11795a249d1589e0bd43ba3119366e47 to your computer and use it in GitHub Desktop.
PersonControllerSpect with IPersonRepository mock
public class PersonControllerSpec
{
private readonly Mock<IPersonRepository> _repository;
public PersonControllerSpec()
{
this._repository = new Mock<IPersonRepository>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment