public void Get_LPC_Lamppost_List() { var results = _lamppostRepository.GetAll().ToList(); var count = results.Count; Assert.NotNull(results); Assert.NotEqual(0, count); }
public void Get_LPC_Lamppost_List() { var sut = _lamppostRepository.GetAll().ToList(); var count = sut.Count; Assert.NotNull(sut); Assert.IsAssignableFrom <IEnumerable <LpcLamppost> >(sut); Assert.NotEqual(0, count); }