- validateDefaultRepresentation
Validates DefaultRepresentation of the object returned by the resource. Tests
the value of the uuid
- validateFullRepresentation
Validates FullRepresentation of the object returned by the resource. Tests the
value of the uuid pro
- validateRefRepresentation
Validates RefRepresentation of the object returned by the resource. Tests the
value of the uuid and
- assertPropEquals
Equivalent to: Assert.assertEquals(property, value, getRepresentation().get(property));
Performs d
- assertPropNotPresent
Equivalent to: Assert.assertFalse(getRepresentation().containsKey(property));
- assertPropPresent
Equivalent to: Assert.assertTrue(getRepresentation().containsKey(property));
- getDisplayProperty
Needs to be implemented in order to validate the display property in each
representation. It is call
- getFullRepresentation
Creates Representation#FULL. Calls
BaseDelegatingResource#asRepresentation(Object,Representation) on
- getObject
Returns an instance of an object to test the resource.
- getRepresentation
Returns a created representation.
- getUuidProperty
Needs to be implemented in order to validate the uuid property in each
representation. It is called
- newDefaultRepresentation
Creates Representation#DEFAULT. Calls
BaseDelegatingResource#asRepresentation(Object,Representation)