コード例 #1
0
 @Test(expected = IllegalStateException.class)
 public void shouldFailOnNoneChunksMatching() {
   ChunkFactory.fromString(table, "----");
 }
コード例 #2
0
 @Test
 public void shouldRecognizeUniqueChunk() {
   Assert.assertEquals("aaa", ChunkFactory.fromString(table, "aaa").getText());
 }