assertThat(second.annotations.get().sampleId, is("second sample id"));
}
@Test
public void testCreateInstrument() throws IOException {
CreateInstrumentRequest request = readJson("createInstrument.json", CreateInstrumentRequest.class);
assertThat(request.model, is(254l));
assertThat(request.details.name, is("New instrument"));
assertThat(request.details.serialNumber, is("ABC123456"));
assertThat(request.details.hplc, is("hplc"));
assertThat(request.details.peripherals, is("printer, scanner"));