@Test
public void testUpdateContext_forSmartIndex_2() {

	String line = "define vm id = " + SMART_INDEX + " under /tomcat-vm";
	DefineVariableCommandInstruction instr = new DefineVariableCommandInstruction( this.context, line, 1 );
	Assert.assertEquals( 0, instr.validate().size());
	instr.updateContext();
	Assert.assertEquals( "1", this.context.variables.get( "vm id" ));
}