public void ConvertNullAPIToAPI() { apiAuth1 = null; converter = new AuthenticationConverter(apiAuth1); Assert.IsNull(converter.ToAPIAuthentication()); }
public void ConvertAPIToAPI() { apiAuth1 = CreateTypicalAPIAuthentication(); converter = new AuthenticationConverter(apiAuth1); apiAuth2 = converter.ToAPIAuthentication(); Assert.IsNotNull(apiAuth2); Assert.AreEqual(apiAuth2, apiAuth1); }
public void ConvertNullSDKToAPI() { sdkAuth1 = null; converter = new AuthenticationConverter(sdkAuth1); Assert.IsNull(converter.ToAPIAuthentication()); }