Skip to content
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

Introduce JsonPath matchers for empty and non-empty content [SPR-13352] #17936

Closed
spring-projects-issues opened this issue Aug 14, 2015 · 1 comment
Assignees
Labels
in: test Issues in the test module type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Aug 14, 2015

Sam Brannen opened SPR-13352 and commented

This issue picks up where #17935 left off.


Affects: 3.2 GA

Issue Links:

Referenced from: commits 7a17abe

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

Implemented in GitHub commit 7a17abe:

Introduce empty & non-empty JsonPath matchers

This commit introduces new isEmpty() and isNotEmpty() methods in JsonPathResultMatchers and JsonPathRequestMatchers which delegate to the new assertValueIsEmpty() and assertValueIsNotEmpty() methods in JsonPathExpectationsHelper, respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants