/** * assert that objects are equal.<br> * This means they are both <i>null</i> or <code>one.equals(two)</code> returns <i>true</i> * * @param one the first object * @param two the second object * @throws WebApplicationException with status code 422 (Unprocessable Entity) */ public static void assertEquals(final Object one, final Object two) { RESTAssert.assertEquals(one, two, RESTAssert.DEFAULT_STATUS_CODE); }