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

    //GIVEN
    given(request.getParameter(TYPE_PARAMETER)).willReturn(null);
    //WHEN
    underTest.doGet(request, response);
    //THEN
    verify(writer).write("Please provide a type parameter in the url!");
}