public void gatewayListShouldNotBeNul() { gatewayController ctrl = new gatewayController(); List <gateway> result = ctrl.getItems(); Assert.IsNotNull(result); }
/// <summary> /// Get all gateways. /// </summary> /// <returns> /// List<gateway>: List of all gateways. /// </returns> public List <gateway> GetGateways() { return(controller.getItems()); }