@Test
public void testGetSelectMatchupSql_atsrOrMetopOrAvhrr() {

    final String atsrSql = JpaMatchupStorage.getSelectMatchupSql("atsr_md");
    assertThat(atsrSql, containsString("from mm_matchup m, mm_observation r, mm_datafile f where r.time >= ?2 and r.time < ?3 and r.sensor = ?1 and m.id = r.id"));
    final String metopSql = JpaMatchupStorage.getSelectMatchupSql("metop");
    assertEquals(atsrSql, metopSql);
    final String avhrrSql = JpaMatchupStorage.getSelectMatchupSql("avhrr_md");
    assertEquals(avhrrSql, metopSql);
}