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