@Test
public void verifyEndpointWithSearchQueryWithMaxArg()
        throws Exception
{

    mockMvc.perform(
        get( ENDPOINT + "/alfa" )
            .param( "max", "CHART" ) )
        .andExpect( status().isOk() );
    verify( dashboardService ).search( "alfa" , Sets.newHashSet( DashboardItemType.CHART ), null, null );
}