private RpcResponse TestMockUserInfoCommand(bool goodData)
        {
            IRpcBroker broker = MockRpcBrokerFactory.GetOrwuUserInfoBroker(goodData);

            OrwuUserInfoCommand testCommand = new OrwuUserInfoCommand(broker);

            RpcResponse response = testCommand.Execute();

            // *** Check results ***
            Assert.IsNotNull(response);

            return(response);
        }
        public int GetUserTimeout()
        {
            // *** Returns value in seconds ***

            int returnVal = 600;

            if (this.broker != null)
            {
                OrwuUserInfoCommand command  = new OrwuUserInfoCommand(broker);
                RpcResponse         response = command.Execute();

                if (command.Response.Status == RpcResponseStatus.Success)
                {
                    returnVal = command.UserInfo.Timeout;
                }
            }

            return(returnVal);
        }