protected boolean isJob( HttpServletRequest request ) {
    return isJob( request.getParameter( PARAMETER_TYPE ) );
  }
@Test
  public void testIsJobHttpServletRequest() {

    // CASE: job
    HttpServletRequest requestJob = Mockito.mock( HttpServletRequest.class );
    when(requestJob.getParameter( RegisterPackageServlet.PARAMETER_TYPE ) ).thenReturn( "job" );

    assertTrue( servlet.isJob( requestJob ) );


    // CASE: transformation
    HttpServletRequest requestTrans = Mockito.mock( HttpServletRequest.class );
    when(requestJob.getParameter( RegisterPackageServlet.PARAMETER_TYPE ) ).thenReturn( "trans" );

    assertFalse( servlet.isJob( requestTrans ) );

  }