@Test
public void testParserNotFound()
{

    // Given
    final Class<User> nonSupportedClass = User.class;
    final String anyValue = "wewee-4343";
    // Then
    exceptionRule.expect( QueryParserException.class );
    exceptionRule
            .expectMessage( "Unable to parse `" + anyValue + "` to `" + nonSupportedClass.getSimpleName() + "`." );
    // When
    QueryUtils.parseValue( nonSupportedClass, anyValue );
}