Frame { public int countScore() { return ownScore + countBonus(); } Frame(int first, int second); int countScore(); void setNext(Frame nextFrame);  }
@Test public void shouldCountItsOwnScoreWithoutBonus() throws Exception { Frame noBonusFrame = new Frame(3, 4); int score = noBonusFrame.countScore(); assertThat(score, is(7)); }