public void TestMockHasKeyCommand_False()
        {
            IRpcBroker broker = MockRpcBrokerFactory.GetOrwuHasKeyBroker(false);

            bool result = TestHasSecurityKeyCommand(broker, "WEBM ADMIN");

            Assert.IsFalse(result);
        }
Example #2
0
        public void TestMockHasKeyCommand_True()
        {
            IRpcBroker broker = MockRpcBrokerFactory.GetOrwuHasKeyBroker(true);

            bool result = TestHasSecurityKeyCommand(broker, "DSIO ADMIN");

            Assert.IsTrue(result);
        }