public void GetOutOfNetworkProfile_InvalidUrl_Test() { ILinkedInAuthorization authorization = new LinkedInAuthorizationMock(); LinkedInService target = new LinkedInService(authorization); ApiRequest apiRequest = new ApiRequest { Url = "http:\\invalid.url", Headers = new Collection<HttpHeader>() }; target.GetOutOfNetworkProfile(apiRequest); }
public void GetOutOfNetworkProfile_InvalidUrl_Test() { var target = GetLinkedInService(); ApiRequest apiRequest = new ApiRequest { Url = "http:\\invalid.url", Headers = new Collection<HttpHeader>() }; target.GetOutOfNetworkProfile(apiRequest); }
public void GetOutOfNetworkProfile_EmptyUrl_Test() { ILinkedInAuthorization authorization = new LinkedInAuthorizationMock(); LinkedInService target = new LinkedInService(authorization); ApiRequest apiRequest = new ApiRequest { Url = string.Empty, Headers = new Collection<HttpHeader>() }; target.GetOutOfNetworkProfile(apiRequest); }
public void GetOutOfNetworkProfile_EmptyUrl_Test() { var target = GetLinkedInService(); ApiRequest apiRequest = new ApiRequest { Url = string.Empty, Headers = new Collection<HttpHeader>() }; target.GetOutOfNetworkProfile(apiRequest); }