/*
  * 1 covered goal:
  * 1 com.werken.saxpath.XPathLexer.LA(I)C: I10 Branch 223 IF_ICMPLT L946 - false
  */
 @Test
 public void test5() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer();
   char char0 = xPathLexer0.LA((int) '.');
   assertEquals(0, xPathLexer0.endPosition());
   assertEquals('\uFFFF', char0);
 }
 /*
  * 1 covered goal:
  * 1 com.werken.saxpath.XPathLexer.setPreviousToken(Lcom/werken/saxpath/Token;)V: root-Branch
  */
 @Test
 public void test3() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer("C");
   xPathLexer0.setPreviousToken((Token) null);
   assertEquals(true, xPathLexer0.hasMoreChars());
   assertEquals(1, xPathLexer0.endPosition());
 }
 /*
  * 1 covered goal:
  * 1 com.werken.saxpath.XPathLexer.consume()V: root-Branch
  */
 @Test
 public void test4() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer("+G->M3NC");
   xPathLexer0.consume();
   assertEquals(1, xPathLexer0.currentPosition());
   assertEquals(true, xPathLexer0.hasMoreChars());
 }
 /*
  * 1 covered goal:
  * 1 com.werken.saxpath.XPathLexer.consume(I)V: root-Branch
  */
 @Test
 public void test3() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer();
   xPathLexer0.consume((int) '\uFFFF');
   assertEquals(65535, xPathLexer0.currentPosition());
   assertEquals(false, xPathLexer0.hasMoreChars());
 }
 /*
  * 2 covered goals:
  * 1 com.werken.saxpath.XPathLexer.getXPath()Ljava/lang/String;: root-Branch
  * 2 com.werken.saxpath.XPathLexer.LA(I)C: I10 Branch 223 IF_ICMPLT L946 - true
  */
 @Test
 public void test2() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer("^3{i\"lmfi");
   char char0 = xPathLexer0.LA(5);
   assertEquals('\"', char0);
   assertEquals(9, xPathLexer0.endPosition());
 }
 /*
  * 4 covered goals:
  * 1 com.werken.saxpath.XPathLexer.isIdentifierStartChar(C)Z: I4 Branch 228 IF_ICMPEQ L1003 - false
  * 2 com.werken.saxpath.XPathLexer.isIdentifierStartChar(C)Z: I7 Branch 229 IFEQ L1003 - false
  * 3 com.werken.saxpath.XPathLexer.setXPath(Ljava/lang/String;)V: root-Branch
  * 4 com.werken.saxpath.XPathLexer.<init>(Ljava/lang/String;)V: root-Branch
  */
 @Test
 public void test11() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer("");
   boolean boolean0 = xPathLexer0.isIdentifierStartChar('r');
   assertEquals(0, xPathLexer0.currentPosition());
   assertEquals(true, boolean0);
 }
 /*
  * 1 covered goal:
  * 1 com.werken.saxpath.XPathLexer.isIdentifierStartChar(C)Z: I4 Branch 228 IF_ICMPEQ L1003 - true
  */
 @Test
 public void test10() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer("s");
   boolean boolean0 = xPathLexer0.isIdentifierStartChar('_');
   assertEquals(true, boolean0);
   assertEquals(true, xPathLexer0.hasMoreChars());
 }
 /*
  * 5 covered goals:
  * 1 com.werken.saxpath.XPathLexer.currentPosition()I: root-Branch
  * 2 com.werken.saxpath.XPathLexer.setXPath(Ljava/lang/String;)V: root-Branch
  * 3 com.werken.saxpath.XPathLexer.endPosition()I: root-Branch
  * 4 com.werken.saxpath.XPathLexer.<init>(Ljava/lang/String;)V: root-Branch
  * 5 com.werken.saxpath.XPathLexer.hasMoreChars()Z: I6 Branch 224 IF_ICMPGE L986 - false
  */
 @Test
 public void test0() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer("+G->M3NC");
   boolean boolean0 = xPathLexer0.hasMoreChars();
   assertEquals(0, xPathLexer0.currentPosition());
   assertEquals(8, xPathLexer0.endPosition());
   assertEquals(true, boolean0);
 }
 /*
  * 3 covered goals:
  * 1 com.werken.saxpath.XPathLexer.hasMoreChars()Z: I6 Branch 224 IF_ICMPGE L986 - true
  * 2 com.werken.saxpath.XPathLexer.currentPosition()I: root-Branch
  * 3 com.werken.saxpath.XPathLexer.endPosition()I: root-Branch
  */
 @Test
 public void test6() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer();
   boolean boolean0 = xPathLexer0.hasMoreChars();
   assertEquals(0, xPathLexer0.endPosition());
   assertEquals(0, xPathLexer0.currentPosition());
   assertEquals(false, boolean0);
 }
 /*
  * 3 covered goals:
  * 1 com.werken.saxpath.XPathLexer.isIdentifierChar(C)Z: I3 Branch 225 LOOKUPSWITCH L991 Case 45 - false
  * 2 com.werken.saxpath.XPathLexer.isIdentifierChar(C)Z: I3 Branch 226 LOOKUPSWITCH L991 Case 46 - true
  * 3 com.werken.saxpath.XPathLexer.isIdentifierChar(C)Z: I3 Branch 227 LOOKUPSWITCH L991 Default-Case - false
  */
 @Test
 public void test8() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer("^3{i\"lmfi");
   boolean boolean0 = xPathLexer0.isIdentifierChar('.');
   assertEquals(0, xPathLexer0.currentPosition());
   assertEquals(9, xPathLexer0.endPosition());
   assertEquals(true, boolean0);
 }
 /*
  * 2 covered goals:
  * 1 com.werken.saxpath.XPathLexer.getXPath()Ljava/lang/String;: root-Branch
  * 2 com.werken.saxpath.XPathLexer.LA(I)C: I10 Branch 223 IF_ICMPLT L946 - true
  */
 @Test
 public void test2() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer("C");
   // Undeclared exception!
   try {
     xPathLexer0.LA((-1088));
     fail("Expecting exception: StringIndexOutOfBoundsException");
   } catch (StringIndexOutOfBoundsException e) {
     /*
      * String index out of range: -1089
      */
   }
 }
 /*
  * 2 covered goals:
  * 1 com.werken.saxpath.XPathLexer.consume(I)V: root-Branch
  * 2 com.werken.saxpath.XPathLexer.<init>()V: root-Branch
  */
 @Test
 public void test1() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer();
   xPathLexer0.consume((int) '-');
   assertEquals(45, xPathLexer0.currentPosition());
 }
 /*
  * 3 covered goals:
  * 1 com.werken.saxpath.XPathLexer.isIdentifierStartChar(C)Z: I7 Branch 229 IFEQ L1003 - false
  * 2 com.werken.saxpath.XPathLexer.<init>()V: root-Branch
  * 3 com.werken.saxpath.XPathLexer.isIdentifierStartChar(C)Z: I4 Branch 228 IF_ICMPEQ L1003 - false
  */
 @Test
 public void test12() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer();
   boolean boolean0 = xPathLexer0.isIdentifierStartChar('X');
   assertEquals(true, boolean0);
 }
 /*
  * 3 covered goals:
  * 1 com.werken.saxpath.XPathLexer.isIdentifierChar(C)Z: I3 Branch 227 LOOKUPSWITCH L991 Default-Case - true
  * 2 com.werken.saxpath.XPathLexer.isIdentifierChar(C)Z: I3 Branch 225 LOOKUPSWITCH L991 Case 45 - false
  * 3 com.werken.saxpath.XPathLexer.isIdentifierChar(C)Z: I3 Branch 226 LOOKUPSWITCH L991 Case 46 - false
  */
 @Test
 public void test9() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer();
   boolean boolean0 = xPathLexer0.isIdentifierChar('\u0087');
   assertEquals(true, boolean0);
 }
 /*
  * 1 covered goal:
  * 1 com.werken.saxpath.XPathLexer.consume()V: root-Branch
  */
 @Test
 public void test4() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer("");
   xPathLexer0.consume();
   assertEquals(1, xPathLexer0.currentPosition());
 }
 /*
  * 2 covered goals:
  * 1 com.werken.saxpath.XPathLexer.setPreviousToken(Lcom/werken/saxpath/Token;)V: root-Branch
  * 2 com.werken.saxpath.XPathLexer.<init>()V: root-Branch
  */
 @Test
 public void test1() throws Throwable {
   XPathLexer xPathLexer0 = new XPathLexer();
   xPathLexer0.setPreviousToken((Token) null);
   assertNull(xPathLexer0.getXPath());
 }