@Test
public void testApplyPatternAndCondition_patternAndCondition() {

    final String sql = "bla bla bla where r.time = yesterday";
    final String condition = "absolutely nonsense";
    final String sqlApplied = JpaMatchupStorage.applyPatternAndCondition(sql, condition, 987);
    assertEquals("bla bla bla where m.pattern & ?4 = ?4 and absolutely nonsense and r.time = yesterday", sqlApplied);
}