public void CreateSigningKey_AnonymousData_CorrectString(string consumerSecret, string accessTokenSecret, HttpUtils sut) { var result = sut.CreateSigningKey(consumerSecret, accessTokenSecret); result.Should().Be(sut.Encode(consumerSecret) + "&" + sut.Encode(accessTokenSecret)); }
public void CreateSignatureBaseString_AnonymousData_CorrectString(string method, string url, string parametersString, HttpUtils sut) { var result = sut.CreateSignatureBaseString(method, url, parametersString); result.Should().Be(method + "&" + sut.Encode(url) + "&" + sut.Encode(parametersString)); }