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); }
public IEnumerable <Gateway> GetGateways(int boundaryId) { return(_gatewayRepository.GetGateways(boundaryId)); }