@Test
public void verifyEndpointWithMaxArg()
    throws Exception
{

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