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);
        }
Пример #2
0
 public void Dispose()
 {
     RestConnector.Disconnect();
 }