Exemple #1
0
        public void ConnectAllowsAccessToCompanyAndApplication()
        {
            var connection = new StandardConnection();

            connection.Connect();

            Assert.IsNotNull(connection.Application);
            Assert.IsNotNull(connection.Company);
        }
Exemple #2
0
        public void DisconnectDisconnectsCompanyAndApplication()
        {
            var connection = new StandardConnection();

            connection.Connect();

            connection.Disconnect();

            Assert.IsNull(connection.Application);
            Assert.IsNull(connection.Company);
        }