@SuppressWarnings("rawtypes")
@Test
public void testMult() {

	String inputCommand = ListCommand.LIST_MULT_SUB_COMMAND_NAME + "\n" + target + "\ni3\ne\n";
	try {
		// l3 = l1 * 3
		command.execute("l", new BufferedReader(new StringReader(inputCommand)), writer);
		assertEquals("!ylo2\n", sWriter.toString());
		List newList = (List) gateway.getObject("o2");
		assertEquals(12, newList.size());
		assertEquals(4, list.size());
		// l3 = l1 * -1
		inputCommand = ListCommand.LIST_MULT_SUB_COMMAND_NAME + "\n" + target + "\ni-1\ne\n";
		command.execute("l", new BufferedReader(new StringReader(inputCommand)), writer);
		assertEquals("!ylo2\n!ylo3\n", sWriter.toString());
		newList = (List) gateway.getObject("o3");
		assertEquals(0, newList.size());
	} catch (Exception e) {
		e.printStackTrace();
		fail();
	}
}