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

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