/* * 1 covered goal: * 1 net.sf.xisemele.impl.OperationsHelperImpl.find(Lorg/w3c/dom/Document;Ljava/lang/String;)Lorg/w3c/dom/Node;: I14 Branch 3 IFLE L44 - false */ @Test public void test3() throws Throwable { OperationsHelperImpl operationsHelperImpl0 = new OperationsHelperImpl(); // Undeclared exception! try { operationsHelperImpl0.find((Document) null, "`"); fail("Expecting exception: NullPointerException"); } catch (NullPointerException e) { } }
/* * 2 covered goals: * 1 net.sf.xisemele.impl.OperationsHelperImpl.find(Lorg/w3c/dom/Document;Ljava/lang/String;)Lorg/w3c/dom/Node;: I14 Branch 3 IFLE L44 - true * 2 net.sf.xisemele.impl.OperationsHelperImpl.find(Lorg/w3c/dom/Document;Ljava/lang/String;)Lorg/w3c/dom/Node;: I87 Branch 8 IFNULL L58 - true */ @Test public void test2() throws Throwable { OperationsHelperImpl operationsHelperImpl0 = new OperationsHelperImpl(); Node node0 = operationsHelperImpl0.find((Document) null, "/"); assertNull(node0); }