    @Test
    public void testDeleteMeasureByIdForNotFound() throws Exception {

        doThrow(new GriffinException.NotFoundException(GriffinExceptionMessage
                .MEASURE_ID_DOES_NOT_EXIST))
                .when(service).deleteMeasureById(1L);

        mvc.perform(delete(URLHelper.API_VERSION_PATH + "/measures/1"))
                .andExpect(status().isNotFound());
    }