예제 #1
0
        public ManagementTests()
        {
            _client = new MessageBrokerClient(TestAssembly.ClientConfiguration, TestAssembly.GetRestClientConfiguration());

            ResetDatabase()
            .GetAwaiter()
            .GetResult();
        }
        public QueuePerformanceTest()
        {
            _client  = new MessageBrokerClient(TestAssembly.ClientConfiguration, TestAssembly.GetRestClientConfiguration());
            _utility = new Utility(_client);

            ResetDatabase()
            .GetAwaiter()
            .GetResult();
        }
예제 #3
0
        public MessageBrokerClientTests()
        {
            _client = new MessageBrokerClient <Payload>(
                TestAssembly.ClientConfiguration.BaseUri,
                _agentName,
                _queueName,
                TestAssembly.GetRestClientConfiguration());

            _utility = new Utility(_client.Client);

            ResetDatabase()
            .GetAwaiter()
            .GetResult();
        }