@Test public void testArticleData() { IArticle article = getExampleDoc(); assertEquals("Kevin Smith o nowym kostiumie Batmana: fani będą w szoku", article.getTitle()); assertThat(article.getContent(), startsWith("Reżyser Kevin Smith widział już kostium Batmana")); assertThat(article.getContent(), endsWith("Reżyserią filmu zajmie się Zack Snyder. AS")); assertEquals(parseDate("12 November 2013 13:32"), article.getDate()); }