Bug 314847 Command parameters are never cleared
tests/org.eclipse.e4.core.commands.tests/src/org/eclipse/e4/core/commands/tests/HandlerTest.java
public String name;
		public Info(String name) {
			this.name = name;
		}
	}
	public void testMethodInfo() throws Exception {
		Info helloInfo = new Info("Hello");
		workbenchContext.set(Info.class.getName(), helloInfo);
		ECommandService cs = (ECommandService) workbenchContext
				.get(ECommandService.class.getName());
		ParameterizedCommand cmd = cs.createCommand(TEST_ID1, null);
		EHandlerService wHS = (EHandlerService) workbenchContext
				.get(EHandlerService.class.getName());
		HandlerWithInfo handler = new HandlerWithInfo();
		wHS.activateHandler(TEST_ID1, handler);
		assertEquals(helloInfo, wHS.executeHandler(cmd));
	}
	public void testMethodWithAnnocation() throws Exception {
		Info helloInfo = new Info("Hello");
		ECommandService cs = (ECommandService) workbenchContext
				.get(ECommandService.class.getName());
		ParameterizedCommand cmd = cs.createCommand(TEST_ID1, null);
		EHandlerService wHS = (EHandlerService) workbenchContext
				.get(EHandlerService.class.getName());
		HandlerWithAnnotations handler = new HandlerWithAnnotations();
		wHS.activateHandler(TEST_ID1, handler);
		workbenchContext.set(Info.class.getName(), helloInfo);
		assertNull(wHS.executeHandler(cmd));