@Test
public void testExecutePlugin() throws Exception {

    contextMock.returns(new NodeVariable(123)).getVar("x");
    ReflectionAssert.assertReflectionEquals(
            new NodeVariable(123),
            createPlugin(XmlNodeTestUtils.createXmlNode("<get var='x'/>",
                    XmlNodeTestUtils.NAMESPACE_21), GetVarPlugin.class).executePlugin(contextMock.getMock()));
    contextMock.assertInvoked().getVar("x");
}