@Test
public void testHelpObjectWithPattern2() {

	String inputCommand = "o\n" + target + "\nsgetField1(*\ntrue\ne\n";
	try {
		assertTrue(gateway.getBindings().containsKey(target));
		command.execute("h", new BufferedReader(new StringReader(inputCommand)), writer);
		String page = sWriter.toString();
		System.out.println(page);
		assertTrue(page.length() > 1);
		assertTrue(!page.contains("method1"));
		assertTrue(page.contains("getField1"));
	} catch (Exception e) {
		e.printStackTrace();
		fail();
	}
}