Exemple #1
0
        public async Task ShouldCreateANewClient()
        {
            IThreadClientFactory factory = ThreadClientFactory.Create();
            IThreadClient        client  = await factory.CreateClientAsync();

            Assert.IsNotNull(client);
        }
Exemple #2
0
        public void ShouldCreateANewFactory()
        {
            IThreadClientFactory factory = ThreadClientFactory.Create();

            Assert.IsNotNull(factory);
        }