public class ResponseMatchersTest extends Object
Constructor and Description |
---|
ResponseMatchersTest() |
public void hasNoHeadersMatcherMatchesResponseWithoutHeader() throws Exception
Exception
public void hasNoHeadersMatcherDoesNotMatchResponseWithSomeHeader() throws Exception
Exception
public void hasHeaderMatcherMatchesResponseWithMatchingHeader() throws Exception
Exception
public void hasHeaderMatcherMatchesResponseWithMultipleHeadersAndMatchingHeader() throws Exception
Exception
public void hasHeaderMatcherDoesNotMatchResponseWithNoHeaders() throws Exception
Exception
public void hasHeaderMatcherDoesNotMatchResponseWithMissingHeader() throws Exception
Exception
public void hasHeaderMatcherDoesNotMatchResponseWithHeaderNotMatchingValue() throws Exception
Exception
public void doesNotHaveHeaderMatcherDoesNotMatchResponseWithMatchingHeader() throws Exception
Exception
public void doesNotHaveHeaderMatcherMatchesResponseWithNonMatchingHeader() throws Exception
Exception
public void doesNotHaveHeaderMatcherMatchesResponseWithNoHeaders() throws Exception
Exception
public void hasNoPayloadMatcherMatchesResponseWithoutPayload() throws Exception
Exception
public void hasNoPayloadMatcherDoesNotMatchesResponseWithPayload() throws Exception
Exception
public void hasPayloadMatcherMatchesResponseWithMatchingPayload() throws Exception
Exception
public void hasPayloadMatcherDoesNotMatchResponseWithNonMatchingPayload() throws Exception
Exception
public void hasPayloadMatcherDoesNotMatchResponseWithNoPayload() throws Exception
Exception
public void hasPayloadMatcherDoesCallPayloadMatcherWhenResponseHasNoPayload() throws Exception
Exception
public void hasStatusMatcherMatchesResponseWithMatchingStatusType() throws Exception
Exception
Copyright © 2016. All rights reserved.