assertThat(representation.getSelf()).isEqualTo(SELF);
}
@Test
public void shouldConvertChildAssetsAndDevicesFromJson() throws Exception {
JSONObject json = minimalJsonManagedObjectRepresentation()
.withPropertyBuilder(PROP_CHILD_ASSETS, minimalJsonObjectRepresentation())
.withPropertyBuilder(PROP_CHILD_DEVICES, minimalJsonObjectRepresentation())
.withPropertyBuilder(PROP_PARENTS, minimalJsonObjectRepresentation()).build();
ManagedObjectRepresentation representation = fromJson(json);