Frame { public int countScore() { return ownScore + countBonus(); } Frame(int firstBall, int secondBall); void setNext(Frame nextFrame); int countScore();  }
@Test public void shouldCountScoreWithoutBonus() throws Exception { Frame frame = new Frame(3, 4); int score = frame.countScore(); assertThat(score, is(7)); }