Beispiel #1
0
  @Test
  public void format_should_have_proper_result() {

    OverProcedure procedure =
        OverProcedure.create(
            PlayerRecord.create("张三", 10, Role.fighter),
            PlayerRecord.create("李四", 20, Role.normal));

    String result = formatter.format(procedure);

    assertThat(result, is("李四被打败了."));
  }