PlayerBuilder { public PlayerBuilder msecPerMove(int msec) { this.msecPerMove = msec; return this; } PlayerBuilder(); PlayerBuilder biasDelay(int biasDelay); PlayerBuilder boardWidth(int width); Player build(); PlayerBuilder coupDeGrace(boolean grace); PlayerBuilder gestation(int gestation); PlayerBuilder komi(double komi); PlayerBuilder lgrf2(boolean lgrf2); PlayerBuilder liveShape(boolean liveShape); PlayerBuilder memorySize(int megabytes); PlayerBuilder msecPerMove(int msec); PlayerBuilder openingBook(boolean book); PlayerBuilder ponder(boolean ponder); PlayerBuilder rave(boolean rave); PlayerBuilder shape(boolean shape); PlayerBuilder shapeBias(int shapeBias); PlayerBuilder shapeMinStones(int shapePatternSize); PlayerBuilder shapeScalingFactor(float shapeScalingFactor); PlayerBuilder threads(int threads); PlayerBuilder timeManagement(String managerType);  }
@Test public void testMsecPerMove() { builder.msecPerMove(8675309); assertEquals(8675309, builder.build().getMsecPerMove()); }