5657585960616263
/** @throws Exception */ @Test public void parse2() throws Exception { Token t = Token.parse( parseXml( "<token/>" ) ); assertNull( t.value( args ) ); }
6465666768697071
/** @throws Exception */ @Test public void parse3() throws Exception { Token t = Token.parse( parseXml( "<token></token>" ) ); assertNull( t.value( args ) ); }
7273747576777879
/** @throws Exception */ @Test public void parse4() throws Exception { Token t = Token.parse( parseXml( "<token>abc</token>" ) ); assertEquals( "abc", t.value( args ) ); }
8081828384858687
/** @throws Exception */ @Test public void parse5() throws Exception { Token t = Token.parse( parseXml( "<token value=\"\"/>" ) ); assertEquals( "", t.value( args ) ); }
8889909192939495
/** @throws Exception */ @Test public void parse6() throws Exception { Token t = Token.parse( parseXml( "<token value=\"abc\"/>" ) ); assertEquals( "abc", t.value( args ) ); }
96979899100101102103
/** @throws Exception */ @Test public void parse7() throws Exception { Token t = Token.parse( parseXml( "<token>{bar}</token>" ) ); assertEquals( "123", t.value( args ) ); }
104105106107108109110111
/** @throws Exception */ @Test public void parse8() throws Exception { Token t = Token.parse( parseXml( "<token value=\"{bar}\"/>" ) ); assertEquals( "123", t.value( args ) ); }