@Test(expected = EntiteNonTrouvee.class) public void quandSelectMatchParIDSiNExistePASAlorsObtientNULLMatch() throws EntiteNonTrouvee { matchRepositoryImpl.selectParIdentifiantUnique(UN_FAUX_ID); }
@Test public void quandSelectMatchParIDSiExisteAlorsObtientMatch() throws EntiteNonTrouvee { Match resultat = matchRepositoryImpl.selectParIdentifiantUnique(UN_ID); assertEquals(UN_MATCH, resultat); }