@Test
public void jsonSerializationWithSnapshotRevisionWorksAsExpected() {

    final RetrieveThing underTest = RetrieveThing.getBuilder(TestConstants.Thing.THING_ID, DittoHeaders.empty())
            .withSnapshotRevision(SNAPSHOT_REVISION)
            .build();
    final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial());
    assertThat(actualJson).isEqualTo(KNOWN_JSON_WITH_SNAPSHOT_REVISION);
}