package net.sf.kerner.utils;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;

public class TestArrayUtils2 {

	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public final void testEmptyArray01() {
		assertTrue(ArrayUtils.emptyArray(new Object[]{}));
	}
	
	@Test
	public final void testEmptyArray02() {
		assertTrue(ArrayUtils.emptyArray(null));
	}
	
	@Test
	public final void testEmptyArray03() {
		assertFalse(ArrayUtils.emptyArray(new Object[]{new Object()}));
	}
	
	@Test
	public final void testEmptyArray04() {
		assertFalse(ArrayUtils.emptyArray(new Object[]{new Object[]{new Integer(1)}}));
	}

	@Test
	public final void testNullArray01() {
		assertTrue(ArrayUtils.emptyArray(null));
	}
	
	@Test
	public final void testNullArray02() {
		assertTrue(ArrayUtils.emptyArray(new Object[]{}));
	}
	
	@Test
	public final void testNullArray03() {
		assertTrue(ArrayUtils.emptyArray(new Object[]{null}));
	}
	
	@Test
	public final void testNullArray04() {
		assertTrue(ArrayUtils.emptyArray(null));
	}
	
	@Test
	public final void testNullArray05() {
		assertTrue(ArrayUtils.emptyArray(new Object[]{new Object[]{null}}));
	}
	
	@Test
	public final void testNullArray06() {
		assertFalse(ArrayUtils.emptyArray(new Object[]{new Object[]{new Integer(1)}}));
	}
	
	@Test
	public final void testNullArray07() {
		assertFalse(ArrayUtils.emptyArray(new Object[]{new Integer(1)}));
	}

	@Ignore
	@Test
	public final void testIsArray() {
		fail("Not yet implemented"); // TODO
	}

	@Ignore
	@Test
	public final void testToPrimitiveDoubleArray() {
		fail("Not yet implemented"); // TODO
	}

	@Ignore
	@Test
	public final void testToPrimitiveIntegerArray() {
		fail("Not yet implemented"); // TODO
	}

	@Ignore
	@Test
	public final void testToObjectDouble() {
		fail("Not yet implemented"); // TODO
	}

	@Ignore
	@Test
	public final void testToObjectDoubleArray() {
		fail("Not yet implemented"); // TODO
	}

	@Ignore
	@Test
	public final void testToObjectByte() {
		fail("Not yet implemented"); // TODO
	}

	@Ignore
	@Test
	public final void testToObjectByteArray() {
		fail("Not yet implemented"); // TODO
	}

	@Ignore
	@Test
	public final void testToObjectInt() {
		fail("Not yet implemented"); // TODO
	}

	@Ignore
	@Test
	public final void testToObjectIntArray() {
		fail("Not yet implemented"); // TODO
	}

}

@@ -1021,37 +1021,36 @@
 True(ArrayUtils.
-empty
+null
 Array(null));%0A%09%7D
@@ -1114,37 +1114,36 @@
 True(ArrayUtils.
-empty
+null
 Array(new Object
@@ -1217,37 +1217,36 @@
 True(ArrayUtils.
-empty
+null
 Array(new Object
@@ -1324,37 +1324,36 @@
 True(ArrayUtils.
-empty
+null
 Array(null));%0A%09%7D
@@ -1417,37 +1417,36 @@
 True(ArrayUtils.
-empty
+null
 Array(new Object
@@ -1539,37 +1539,36 @@
 alse(ArrayUtils.
-empty
+null
 Array(new Object
@@ -1671,37 +1671,36 @@
 alse(ArrayUtils.
-empty
+null
 Array(new Object

Fix test errors.