@Test
public void testCreateArray() {

	String inputCommand = ArrayCommand.ARRAY_CREATE_SUB_COMMAND_NAME + "\nsint\ni3\ne\n";
	try {
		command.execute("a", new BufferedReader(new StringReader(inputCommand)), writer);
		int[] intarray = (int[]) gateway.getObject("o2");
		assertEquals(3, intarray.length);
		inputCommand = ArrayCommand.ARRAY_CREATE_SUB_COMMAND_NAME + "\nsjava.lang.String\ni3\ni5\ne\n";
		command.execute("a", new BufferedReader(new StringReader(inputCommand)), writer);
		String[][] stringarray = (String[][]) gateway.getObject("o3");
		assertEquals(3, stringarray.length);
		assertEquals(5, stringarray[0].length);
	} catch (Exception e) {
		e.printStackTrace();
		fail();
	}
}