Frame { public int countScore() { return ownScore + countBonus(); } Frame(int firstBall, int secondBall); int countScore(); void setNextFrame(Frame nextFrame);  }
@Test public void shouldCountScoreWithNoBonus() throws Exception { Frame frame = new Frame(2, 3); int score = frame.countScore(); assertThat(score, is(5)); }