Exemplo n.º 1
0
        public void CreateVerifier()
        {
            IBiRClient client = new BiRClient(TestBiRClientHelper.Url, TestBiRClientHelper.Url);

            client.Init();
            BiRClientFactory.SetClient(client);
            _verifier = new BiRVerifier();
        }
Exemplo n.º 2
0
        public void SetTestClientTest()
        {
            IBiRClient clientSet = new BiRClient(TestBiRClientHelper.Url, TestBiRClientHelper.SIDLogin);

            BiRClientFactory.SetClient(clientSet);
            IBiRClient clientGet = BiRClientFactory.GetClient();

            Assert.AreEqual(clientSet, clientGet);
            Assert.AreSame(clientSet, clientGet);
        }