public void Searching_WithContent_IsExpected() { var sut = SearchDocuments.ByParticipant(""); var actual = sut.Content; Assert.IsNull(actual); }
public void Searching_WithParticipant_IsExpected() { var sut = SearchDocuments.ByParticipant("*****@*****.**"); var actual = sut.ResourceUri; Assert.AreEqual("api/v1/document/?participant=example%40visma.com", actual); }
public void Searching_WithHttpMethod_IsExpected() { var sut = SearchDocuments.ByParticipant(""); var actual = sut.Method; Assert.AreEqual(HttpMethod.Get, actual); }