public void RemoveTokenValue_UnitTest() { Uri serverUrl = default(Uri); IIssuedToken token = default(IIssuedToken); ExecuteMethod( () => { return((ITfsClientCredentialStorage)GetInstance()); }, instance => { serverUrl = default(Uri); //No Type token = IssuedTokenWrapper_UnitTests.GetInstance(); RemoveTokenValue_PreCondition(instance, ref serverUrl, ref token); }, instance => { instance.RemoveTokenValue(serverUrl, token); }, instance => { RemoveTokenValue_PostValidate(instance, serverUrl, token); }); }
public void StoreToken_UnitTest() { Uri serverUrl = default(Uri); IIssuedToken token = default(IIssuedToken); Boolean matchUserInformation = default(Boolean); ExecuteMethod( () => { return((ITfsClientCredentialStorage)GetInstance()); }, instance => { serverUrl = default(Uri); //No Type token = IssuedTokenWrapper_UnitTests.GetInstance(); matchUserInformation = default(Boolean); //No Constructor StoreToken_PreCondition(instance, ref serverUrl, ref token, ref matchUserInformation); }, instance => { instance.StoreToken(serverUrl, token, matchUserInformation); }, instance => { StoreToken_PostValidate(instance, serverUrl, token, matchUserInformation); }); }