assertFalse(tok.hasNext());
}
@Test
public void testTokenizerNoClosing() {
CurlyBraceTokenizer tok = new CurlyBraceTokenizer("foo{bar}baz{blah");
assertEquals("foo", tok.next());
assertEquals("{bar}", tok.next());
assertEquals("baz", tok.next());
assertEquals("{blah", tok.next());
assertFalse(tok.hasNext());
}