Exemplo n.º 1
0
            public void Should_build_repository_When_gateway_is_valid()
            {
                var gateway = Mock.Create <IGeoGateway>();

                var repo = new GeoEntityRepository(gateway);

                Assert.IsNotNull(repo);
            }
Exemplo n.º 2
0
 public void Setup()
 {
     gateway    = Mock.Create <IGeoGateway>();
     repository = new GeoEntityRepository(gateway);
 }