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

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

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

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

            Assert.IsTrue(result);
        }