public void GetCustomerLevels_Success_ReturnCustomerLevelsList() { // Arrange var repository = new CustomerLevelRepository(); // Act var result = repository.GetCustomerLevels(); // Assert Assert.IsInstanceOf <IEnumerable <CustomerLevel> >(result); }
public IEnumerable <CustomerLevel> GetCustomerLevels() { return(_customerLevelRepository.GetCustomerLevels()); }