private void insertTournament() {
    TournamentBO tournamentBO = ServiceLocator.getBean(TournamentBO.class);
    CountryBO countryBO = ServiceLocator.getBean(CountryBO.class);
    TournamentTypeBO typeBO = ServiceLocator.getBean(TournamentTypeBO.class);

    BufferedImage imBuff = null;
    InputStream is = InsertImageTest.class.getResourceAsStream("/flags/wc_trophy.png");

    try {
      imBuff = ImageIO.read(is);
    } catch (IOException e) {
      e.printStackTrace();
    }

    if (imBuff != null) {
      Country country = countryBO.findByIdentifier(5);
      TournamentType tournamentType = typeBO.findByIdentifier(1); 
      Tournament tournament = new Tournament("world_cup", 1930, imBuff, country, tournamentType);
      tournamentBO.insertRecord(tournament);
    }
  }