public void templateNameGameTypeTournamentTypeStartingChips(
     String name, String gameType, String tournamentType, String startingChips) {
   TournamentVariationTemplateBuilder tournamentVariationTemplateBuilder =
       commonSetup(name, gameType, tournamentType);
   tournamentVariationTemplateBuilder.setStartingChips(new BigDecimal(startingChips));
   TournamentFixture.saveTemplate(tournamentVariationTemplateBuilder.saveToDatabase());
 }
 public void templateNameGameTypeTournamentTypeMinPlayers(
     String name, String gameType, String tournamentType, Integer minPlayers) {
   TournamentVariationTemplateBuilder tournamentVariationTemplateBuilder =
       commonSetup(name, gameType, tournamentType);
   tournamentVariationTemplateBuilder.setMinPlayers(minPlayers);
   TournamentFixture.saveTemplate(tournamentVariationTemplateBuilder.saveToDatabase());
 }
 private TournamentVariationTemplateBuilder commonSetup(
     String name, String gameType, String tournamentType) {
   TournamentVariationTemplateBuilder tournamentVariationTemplateBuilder =
       new TournamentVariationTemplateBuilder(jdbcTemplate);
   tournamentVariationTemplateBuilder.setTemplateName(name);
   tournamentVariationTemplateBuilder.setGameType(gameType);
   tournamentVariationTemplateBuilder.setTournamentType(TournamentType.valueOf(tournamentType));
   return tournamentVariationTemplateBuilder;
 }
 public void templateNameGameTypeTournamentTypeEntryFeeServiceFeeMinPlayers(
     String name,
     String gameType,
     String tournamentType,
     String entryFee,
     String serviceFee,
     Integer minPlayers) {
   TournamentVariationTemplateBuilder tournamentVariationTemplateBuilder =
       commonSetup(name, gameType, tournamentType);
   tournamentVariationTemplateBuilder.setEntryFee(new BigDecimal(entryFee));
   tournamentVariationTemplateBuilder.setServiceFee(new BigDecimal(serviceFee));
   tournamentVariationTemplateBuilder.setMinPlayers(minPlayers);
   TournamentFixture.saveTemplate(tournamentVariationTemplateBuilder.saveToDatabase());
 }
 public void templateNameGameTypeTournamentType(
     String name, String gameType, String tournamentType) {
   TournamentVariationTemplateBuilder tournamentVariationTemplateBuilder =
       commonSetup(name, gameType, tournamentType);
   TournamentFixture.saveTemplate(tournamentVariationTemplateBuilder.saveToDatabase());
 }