@Test
public void transformModifyThingToCreateThing() {

    final Thing thingInPayload = newThing().setId(THING_ID).build();
    new TestKit(system) {{
        final ActorRef underTest = TestSetup.newEnforcerActor(system, getRef(), getRef());
        final ModifyThing modifyThing = ModifyThing.of(THING_ID, thingInPayload, null, headers(V_1));
        underTest.tell(modifyThing, getRef());
        fishForMsgClass(this, SudoRetrieveThing.class);
        reply(ThingNotAccessibleException.newBuilder(THING_ID).build());
        fishForMsgClass(this, CreateThing.class);
    }};
}