assertThat(request.getRepresentation().getClass()).isEqualTo(EventRepresentation.class);
assertThat(((EventRepresentation)request.getRepresentation()).getText()).isEqualTo("text##");
}
private EventRepresentation eventRepresentation() {
return new EventRepresentationBuilder()
.withText("text##")
.withSource(source())
.build();
}