@Test
public void toJsonReturnsExpected() {

    final FeatureDefinitionModified underTest =
            FeatureDefinitionModified.of(TestConstants.Thing.THING_ID, TestConstants.Feature.FLUX_CAPACITOR_ID,
                    TestConstants.Feature.FLUX_CAPACITOR_DEFINITION, TestConstants.Thing.REVISION_NUMBER,
                    TestConstants.TIMESTAMP, TestConstants.EMPTY_DITTO_HEADERS,
                    TestConstants.METADATA);
    final JsonObject actualJson = underTest.toJson(FieldType.regularOrSpecial());
    assertThat(actualJson).isEqualToIgnoringFieldDefinitions(KNOWN_JSON);
}