Frame { public int countScore() { return ownScore + calculateBonus(); } Frame(int roll1, int roll2); int countScore(); void setNext(Frame next);  }
@Test public void shouldCalculateScoreWithNoBonus() throws Exception { Frame frame = new Frame(1, 2); int score = frame.countScore(); assertThat(score, is(3)); }