Beispiel #1
0
        public void GetGateways()
        {
            //Act
            var result = repositry.GetGateways();

            //Assert
            Assert.NotNull(result);

            //Count Records
            int expected = db.Gateways.Count();
            int count    = result.Count();

            Assert.Equal(expected, count);
        }
Beispiel #2
0
 public IEnumerable <Gateway> GetGateways(int boundaryId)
 {
     return(_gatewayRepository.GetGateways(boundaryId));
 }