public void CreateVerifier() { IBiRClient client = new BiRClient(TestBiRClientHelper.Url, TestBiRClientHelper.Url); client.Init(); BiRClientFactory.SetClient(client); _verifier = new BiRVerifier(); }
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); }