예제 #1
0
 public void GivenARepository_WhenAnEntityCreated_ThenTheCorrectTypeIsCreated()
 {
     using (var repository = new PostRepository(Path, _fileInfoFactory.Object, null))
     {
         repository.New().Should().BeOfType<Post>();
     }
 }