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

    //GIVEN
    given(stubResourceHolder.getActualStubConfigJsonObject(DEFAULT_GROUPNAME)).willReturn(null);
    //WHEN
    underTest.doGet(request, response);
    //THEN
    verify(writer).write(anyString());
}