/* * 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); }
/* * 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); }