@Test
public void testDoGetShouldCallSaveStubConfigurationsWhenAnExceptionOccurred() throws ServletException, IOException,
        JsonTransformationException {

    //GIVEN
    doThrow(new JsonTransformationException("Test", new NullPointerException())).when(stubConfigurationSaverService).saveStubConfigurations();
    //WHEN
    underTest.doGet(request, response);
    //THEN
    verify(response).setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
}