@Test
  public void frame_is_spare_if_normal_score_is_10_and_length_is_2() {
    Rolls rolls = Rolls.create(5, 5, 1, 0);
    Frame frame = new Frame(rolls, 0, 2);

    FrameType frameType = instance.getType(frame);

    assertThat(frameType, is(FrameType.SPARE));
  }
  @Test
  public void frame_is_strike_if_normal_score_is_10_and_length_is_1() {
    Rolls rolls = Rolls.create(10, 1, 0);
    Frame frame = new Frame(rolls, 0, 1);

    FrameType frameType = instance.getType(frame);

    assertThat(frameType, is(FrameType.STRIKE));
  }
  @Test
  public void frame_is_open_if_normal_score_not_10() {
    Rolls rolls = Rolls.create(3, 2, 1, 0);
    Frame frame = new Frame(rolls, 0, 2);

    FrameType frameType = instance.getType(frame);

    assertThat(frameType, is(FrameType.OPEN));
  }