@Test public void チケットを解析する() { Ticket ticket = new Ticket("1234", "テスト", "単語単語テスト"); List<Word> words = ticket.countWorrds(); ; assertThat(words, hasItems(new Word("1234", "単語", 2), new Word("1234", "テスト", 1))); }