final IsEvenlyDivisibleStrategyFactory myBuzzStrategyFactory = new BuzzStrategyFactory();
final StringPrinterFactory myBuzzStringPrinterFactory = new BuzzStringPrinterFactory();
contexts.add(new FizzBuzzOutputGenerationContext(myBuzzStrategyFactory.createIsEvenlyDivisibleStrategy(), myBuzzStringPrinterFactory.createStringPrinter()));
final IsEvenlyDivisibleStrategyFactory myNoFizzNoBuzzStrategyFactory = new NoFizzNoBuzzStrategyFactory();
final IntegerPrinterFactory myIntIntegerPrinterFactory = new IntIntegerPrinterFactory();
contexts.add(new FizzBuzzOutputGenerationContext(myNoFizzNoBuzzStrategyFactory.createIsEvenlyDivisibleStrategy(), myIntIntegerPrinterFactory.createPrinter()));
final StringPrinterFactory myNewLineStringPrinterFactory = new NewLineStringPrinterFactory();
myNewLinePrinter = myNewLineStringPrinterFactory.createStringPrinter(); }