package be.kuleuven.howlongtobeat.hltb import org.junit.Assert.assertEquals import org.junit.Test class HowLongToBeatResultParserTest { @Test fun parseWithEmptyStringReturnsEmptyList() { val result = HowLongToBeatResultParser.parse("") assertEquals(0, result.size) } @Test fun parseWithRealResponseGrabsTitlesOfGamesAndConvertsToTodoItems() { val html = """

We Found 10 Games for "super mario land"