@Test
public void testSetFieldObject() {

	String objectId = gateway.putNewObject(new StringBuffer("Hello"));
	String inputCommand = "s\n" + target + "\nfield20\nr" + objectId + "\ne\n";
	try {
		command.execute("f", new BufferedReader(new StringReader(inputCommand)), writer);
		assertEquals("!yv\n", sWriter.toString());
		assertEquals(((ExampleClass) gateway.getObject(target)).field20, gateway.getObject(objectId));
	} catch (Exception e) {
		e.printStackTrace();
		fail();
	}
}