public void RestConnector_Disconnect_Test() { /* Disconnect disposes of any in-memory objects * and sets 'IsConnected' to false */ //Arrange: RestConnector connector = new RestConnector(); //Act: connector.Disconnect(); //Assert: Assert.IsFalse(connector.IsConnected); }
public void Dispose() { RestConnector.Disconnect(); }