SimpleSpecialtiesContent implements ListSubBoxContent { @Override public boolean useNewLineForEachEntry() { return false; } SimpleSpecialtiesContent(Hero hero, Resources resources); @Override List<String> getPrintEntries(); @Override boolean useNewLineForEachEntry(); @Override String getHeader(); @Override boolean hasContent();  }
@Test public void doesNotUseSingleLinePerItem() throws Exception { assertThat(new SimpleSpecialtiesContent(new DummyHero(), new DummyResources()).useNewLineForEachEntry(), is(false)); }