Example #1
0
        public void GetCustomerLevels_Success_ReturnCustomerLevelsList()
        {
            // Arrange
            var repository = new CustomerLevelRepository();

            // Act
            var result = repository.GetCustomerLevels();

            // Assert
            Assert.IsInstanceOf <IEnumerable <CustomerLevel> >(result);
        }
Example #2
0
 public IEnumerable <CustomerLevel> GetCustomerLevels()
 {
     return(_customerLevelRepository.GetCustomerLevels());
 }