@SuppressWarnings("deprecation")
@Test
public void testCreateMatchup() {

    final ReferenceObservation referenceObservation = new ReferenceObservation();
    referenceObservation.setId(45);
    final Matchup matchup = MatchupGenerator.createMatchup(7765L, referenceObservation);
    assertNotNull(matchup);
    assertEquals(45, matchup.getId());
    assertSame(referenceObservation, matchup.getRefObs());
    assertEquals(7765L, matchup.getPattern());
}