/* * 4 covered goals: * 1 net.sf.xisemele.impl.ValidationsImpl.assertNotNull([Ljava/lang/Object;)V: I8 Branch 1 IF_ICMPGE L43 - true * 2 net.sf.xisemele.impl.ValidationsImpl.assertNotNull([Ljava/lang/Object;)V: I8 Branch 1 IF_ICMPGE L43 - false * 3 net.sf.xisemele.impl.ValidationsImpl.assertNotNull([Ljava/lang/Object;)V: I14 Branch 2 IFNONNULL L44 - true * 4 net.sf.xisemele.impl.ValidationsImpl.<init>(Lnet/sf/xisemele/impl/Factory;)V: root-Branch */ @Test public void test0() throws Throwable { ValidationsImpl validationsImpl0 = new ValidationsImpl((Factory) null); String[] stringArray0 = new String[3]; stringArray0[1] = "}V[8=>WN(LIHnx7DCc"; validationsImpl0.assertNotNull((Object[]) stringArray0); }
/* * 3 covered goals: * 1 net.sf.xisemele.impl.ValidationsImpl.getFirstNotNull([Ljava/lang/Object;)Ljava/lang/Object;: I14 Branch 4 IF_ICMPGE L64 - true * 2 net.sf.xisemele.impl.ValidationsImpl.getFirstNotNull([Ljava/lang/Object;)Ljava/lang/Object;: I14 Branch 4 IF_ICMPGE L64 - false * 3 net.sf.xisemele.impl.ValidationsImpl.getFirstNotNull([Ljava/lang/Object;)Ljava/lang/Object;: I22 Branch 5 IFNULL L65 - true */ @Test public void test4() throws Throwable { ValidationsImpl validationsImpl0 = new ValidationsImpl((Factory) null); Object[] objectArray0 = new Object[1]; Object object0 = validationsImpl0.getFirstNotNull(objectArray0); assertNull(object0); }
/* * 3 covered goals: * 1 net.sf.xisemele.impl.ValidationsImpl.getFirstNotNull([Ljava/lang/Object;)Ljava/lang/Object;: I14 Branch 4 IF_ICMPGE L64 - true * 2 net.sf.xisemele.impl.ValidationsImpl.getFirstNotNull([Ljava/lang/Object;)Ljava/lang/Object;: I14 Branch 4 IF_ICMPGE L64 - false * 3 net.sf.xisemele.impl.ValidationsImpl.getFirstNotNull([Ljava/lang/Object;)Ljava/lang/Object;: I22 Branch 5 IFNULL L65 - true */ @Test public void test4() throws Throwable { ValidationsImpl validationsImpl0 = new ValidationsImpl((Factory) null); String[] stringArray0 = new String[6]; Object object0 = validationsImpl0.getFirstNotNull((Object[]) stringArray0); assertNull(object0); }
/* * 3 covered goals: * 1 net.sf.xisemele.impl.ValidationsImpl.getFirstNotNull([Ljava/lang/Object;)Ljava/lang/Object;: I22 Branch 5 IFNULL L65 - false * 2 net.sf.xisemele.impl.ValidationsImpl.<init>(Lnet/sf/xisemele/impl/Factory;)V: root-Branch * 3 net.sf.xisemele.impl.ValidationsImpl.getFirstNotNull([Ljava/lang/Object;)Ljava/lang/Object;: I14 Branch 4 IF_ICMPGE L64 - false */ @Test public void test5() throws Throwable { ValidationsImpl validationsImpl0 = new ValidationsImpl((Factory) null); String[] stringArray0 = new String[8]; stringArray0[0] = ""; String string0 = validationsImpl0.getFirstNotNull(stringArray0); assertEquals("", string0); }
/* * 4 covered goals: * 1 net.sf.xisemele.impl.ValidationsImpl.assertNotNull([Ljava/lang/Object;)V: I8 Branch 1 IF_ICMPGE L43 - true * 2 net.sf.xisemele.impl.ValidationsImpl.assertNotNull([Ljava/lang/Object;)V: I8 Branch 1 IF_ICMPGE L43 - false * 3 net.sf.xisemele.impl.ValidationsImpl.assertNotNull([Ljava/lang/Object;)V: I14 Branch 2 IFNONNULL L44 - true * 4 net.sf.xisemele.impl.ValidationsImpl.<init>(Lnet/sf/xisemele/impl/Factory;)V: root-Branch */ @Test public void test0() throws Throwable { ValidationsImpl validationsImpl0 = new ValidationsImpl((Factory) null); Object[] objectArray0 = new Object[3]; objectArray0[0] = (Object) validationsImpl0; objectArray0[1] = objectArray0[0]; validationsImpl0.assertNotNull(objectArray0); }
/* * 3 covered goals: * 1 net.sf.xisemele.impl.ValidationsImpl.getFirstNotNull([Ljava/lang/Object;)Ljava/lang/Object;: I22 Branch 5 IFNULL L65 - false * 2 net.sf.xisemele.impl.ValidationsImpl.<init>(Lnet/sf/xisemele/impl/Factory;)V: root-Branch * 3 net.sf.xisemele.impl.ValidationsImpl.getFirstNotNull([Ljava/lang/Object;)Ljava/lang/Object;: I14 Branch 4 IF_ICMPGE L64 - false */ @Test public void test5() throws Throwable { ValidationsImpl validationsImpl0 = new ValidationsImpl((Factory) null); Object[] objectArray0 = new Object[8]; objectArray0[0] = (Object) validationsImpl0; ValidationsImpl validationsImpl1 = (ValidationsImpl) validationsImpl0.getFirstNotNull(objectArray0); assertSame(validationsImpl1, validationsImpl0); }
/* * 2 covered goals: * 1 net.sf.xisemele.impl.ValidationsImpl.assertNotNull([Ljava/lang/Object;)V: I14 Branch 2 IFNONNULL L44 - false * 2 net.sf.xisemele.impl.ValidationsImpl.assertNotNull([Ljava/lang/Object;)V: I8 Branch 1 IF_ICMPGE L43 - false */ @Test public void test1() throws Throwable { ValidationsImpl validationsImpl0 = new ValidationsImpl((Factory) null); Object[] objectArray0 = new Object[6]; try { validationsImpl0.assertNotNull(objectArray0); fail("Expecting exception: NullPointerException"); } catch (NullPointerException e) { } }
/* * 1 covered goal: * 1 net.sf.xisemele.impl.ValidationsImpl.assertValidName(Ljava/lang/String;)V: I7 Branch 3 IFGT L55 - false */ @Test public void test3() throws Throwable { ValidationsImpl validationsImpl0 = new ValidationsImpl((Factory) null); try { validationsImpl0.assertValidName(""); fail("Expecting exception: InvalidNameException"); } catch (InvalidNameException e) { /* * O nome \"\" n\u00E3o \u00E9 v\u00E1lido */ } }
/* * 1 covered goal: * 1 net.sf.xisemele.impl.ValidationsImpl.assertValidName(Ljava/lang/String;)V: I7 Branch 3 IFGT L55 - true */ @Test public void test2() throws Throwable { ValidationsImpl validationsImpl0 = new ValidationsImpl((Factory) null); validationsImpl0.assertValidName("net.sf.xisemele.null.pointer.exception"); }
/* * 1 covered goal: * 1 net.sf.xisemele.impl.ValidationsImpl.assertValidName(Ljava/lang/String;)V: I7 Branch 3 IFGT L55 - true */ @Test public void test2() throws Throwable { ValidationsImpl validationsImpl0 = new ValidationsImpl((Factory) null); validationsImpl0.assertValidName("QdXHTF"); }