New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Hamcrest matchers in header validation #233

Closed
christophd opened this Issue Apr 18, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@christophd
Member

christophd commented Apr 18, 2017

Hamcrest matchers should be supported when validating header values on messages.

http().client("httpStandaloneClient")
            .receive()
            .response()
            .header(HttpMessageHeaders.HTTP_STATUS_CODE, Matchers.isOneOf(HttpStatus.CREATED.toString(),
                    HttpStatus.ACCEPTED.toString()));

@christophd christophd added this to the v2.7.2 milestone Apr 18, 2017

@christophd christophd added IN PROGRESS and removed READY labels Apr 19, 2017

@christophd christophd self-assigned this Apr 19, 2017

@christophd christophd closed this Apr 19, 2017

@christophd christophd removed the IN PROGRESS label Apr 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment