assertTrue(html.contains("some journal"));
}
@Test
public void shouldNotGenerateHtmlWithEmptyYear() throws Exception {
BibliographyEntry bibliographyEntry = new BibliographyEntry("autor", "titulo", "", "", "article", "ref", "some journal");
Bibliography bibliography = new Bibliography(Arrays.asList(bibliographyEntry));
String html = htmlBibGenerator.generateTextOf(bibliography);
System.out.println(html);
assertFalse(html.contains("()"));
}