}
@Test
public void testCreate() throws SDKException {
//Given
MeasurementRepresentation measurement = new MeasurementRepresentation();
MeasurementRepresentation created = new MeasurementRepresentation();
when(restConnector.post(MEASUREMENT_COLLECTION_URL, MeasurementMediaType.MEASUREMENT, measurement)).thenReturn(created);
// When
MeasurementRepresentation result = measurementApi.create(measurement);
//then
assertThat(result, sameInstance(created));
}