// }
@Test
public void createManagedObjectWithCoordinateFragment() throws Exception {
// Given
Coordinate coordinate = new Coordinate(100.0, 10.0);
ManagedObjectRepresentation rep = aSampleMo().with(coordinate).build();
// When
ManagedObjectRepresentation result = inventory.create(rep);
// Then
assertThat(result.getId()).isNotNull();
Coordinate fragment = (Coordinate) result.get(Coordinate.class);
assertThat(fragment).isEqualTo(coordinate);
}