Consider this line:
response.body("path.to.some.long",is(getExpectedResult())
What I'm getting is:
java.lang.AssertionError: 1 expectation failed.
JSON path path.to.some.long doesn't match.
Expected: is <1500L>
Actual: 1500
Does that mean REST assured compares a String to a Long? This is very limiting.
How can I tell REST assured to compare it as a long value?