@Test
public void testDataTruncationException() throws Exception
{

    validateErrorInformation(
        exceptionHandler.handlePersistenceException(getPersistenceException(new DataTruncation(1, true, true, 5, 10)), new MockHttpServletResponse()),
        HttpStatus.BAD_REQUEST, false);
}