final JsonArray result = this.cut.allAsJson();
assertNotNull(result);
assertThat(result.size(), is(1));
JsonObject actual = result.getJsonObject(0);
JsonNumber actualId = actual.getJsonNumber(Registrations.CONFIRMATION_ID);
assertThat(expected.getId(), is(actualId.longValue()));
}
void merge(Registration registration) {
when(this.cut.em.merge(registration)).thenReturn(registration);