public void ServiceConnectorDeviceGetAllTest() { // arrange IServiceConnector serviceConnector = ServiceConnector.GetInstance(); serviceConnector.SetAddress("http://localhost:5000/"); // act var result = serviceConnector.DeviceGetAll(); // assert Assert.IsNotNull(result); Assert.IsTrue(result.Any()); }