Frame { public int countScore() { return ownScore() + countBonus(); } Frame(int firstRoll, int secondRoll); int countScore(); void setNext(Frame next);  }
@Test public void shouldCountScoreWithoutBonus() throws Exception { Frame frame = new Frame(1, 2); int score = frame.countScore(); assertThat(score, is(3)); }