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

    //GIVEN in setUp
    //WHEN
    underTest.doGet(request, response);
    //THEN
    InOrder order = Mockito.inOrder(out);
    order.verify(out).write("\"dialogDescriptors\":[");
    order.verify(out).write("], \"groupname\": \"test\", \"active\": \"true\"");
}