2 using System
.Configuration
;
3 using Microsoft
.VisualStudio
.TestTools
.UnitTesting
;
8 public abstract class TestBase
10 protected IClient _client
;
11 protected ProxyAddress _proxyAddress
;
12 protected string _username
;
13 protected string _validTestNumber
;
16 public virtual void SetUp()
18 _client
= new ClientOAuth(ConfigurationManager
.AppSettings
["oauthToken"]);
20 _proxyAddress
= (ProxyAddress
)Enum
.Parse(
22 ConfigurationManager
.AppSettings
["addressType"]);
24 _validTestNumber
= ConfigurationManager
.AppSettings
["validTestNumber"];