public async Task TestClose()
        {
            using (TestAmqpPeer testPeer = new TestAmqpPeer())
            {
                INMSContext context = await EstablishNMSContextAsync(testPeer);

                testPeer.ExpectClose();

                await context.CloseAsync();

                testPeer.WaitForAllMatchersToComplete(1000);
            }
        }
        public void TestClose()
        {
            using (TestAmqpPeer testPeer = new TestAmqpPeer())
            {
                INMSContext context = EstablishNMSContext(testPeer);

                testPeer.ExpectClose();

                context.Close();

                testPeer.WaitForAllMatchersToComplete(1000);
            }
        }