package Ġcom . gal ar z aa . t ib i akt . core . parsers Ċ Ċ import Ġcom . gal ar z aa . t ib i akt . Test Resources . getResource Ċ import Ġcom . gal ar z aa . t ib i akt . core . enums . News Category Ċ import Ġcom . gal ar z aa . t ib i akt . core . enums . News Type Ċ import Ġio . kot est . core . spec . style . String Spec Ċ import Ġio . kot est . matchers . collections . should Have Size Ċ import Ġio . kot est . matchers . collections . should Not Contain Ċ import Ġio . kot est . matchers . date . shouldBe Before Ċ Ċ class ĠNews Archive Parser Tests Ġ: ĠString Spec ({ ĊĠĠĠ Ġ" Parsing Ġthe Ġnews Ġarchive "{ ĊĠĠĠĠĠĠĠ Ġval Ġnews Archive Ġ= ĠNews Archive Parser . from Content ( getResource (" news / news Archive . txt ")) ĊĠĠĠĠĠĠĠ Ġnews Archive . entries Ġshould Have Size Ġ 1 1 ĊĠĠĠĠĠĠĠ Ġnews Archive . types Ġshould Have Size Ġ 2 ĊĠĠĠĠĠĠĠ Ġnews Archive . types Ġshould Not Contain ĠNews Type . FEATURE D _ ARTIC LE ĊĠĠĠĠĠĠĠ Ġnews Archive . categories Ġshould Have Size Ġ 3 ĊĠĠĠĠĠĠĠ Ġnews Archive . categories Ġshould Not Contain ĠNews Category . SUPPORT ĊĠĠĠĠĠĠĠ Ġnews Archive . startDate ĠshouldBe Before Ġnews Archive . endDate ĊĠĠĠ Ġ} Ċ })