예제 #1
0
        public void gatewayListShouldNotBeNul()
        {
            gatewayController ctrl   = new gatewayController();
            List <gateway>    result = ctrl.getItems();

            Assert.IsNotNull(result);
        }
예제 #2
0
 /// <summary>
 /// Get all gateways.
 /// </summary>
 /// <returns>
 /// List<gateway>: List of all gateways.
 /// </returns>
 public List <gateway> GetGateways()
 {
     return(controller.getItems());
 }