@Test(expected = IllegalStateException.class) public void shouldFailOnNoneChunksMatching() { ChunkFactory.fromString(table, "----"); }
@Test public void shouldRecognizeUniqueChunk() { Assert.assertEquals("aaa", ChunkFactory.fromString(table, "aaa").getText()); }