@Test
public void testDoGetWhenThereIsOneSequenceDescriptors() throws ServletException, IOException {

    //GIVEN in setUp
    sequenceDescriptors.add(sequenceDescriptor);
    given(sequenceDescriptor.getName()).willReturn("SequenceDescriptor1");
    //WHEN
    underTest.doGet(request, response);
    //THEN
    InOrder order = Mockito.inOrder(out);
    order.verify(out).write("\"sequenceDescriptors\":[");
    order.verify(out).write("{\"Name\": \"SequenceDescriptor1\"}");
    order.verify(out).write("]");
    order.verify(out).write(",");
}