@Test
public void testExecutePlugin_templateAsVarName() throws Exception {

    final NodeVariable v123 = new NodeVariable(123);
    contextMock.
            returns(v123).
            getVar("x7");
    contextMock.
            returns(asList(new KeyValuePair<Variable>("x7", v123)).iterator()).
            iterator();
    Assert.assertEquals(
            createPlugin(XmlNodeTestUtils.createXmlNode("<get var='x${5+2}'/>",
                    XmlNodeTestUtils.NAMESPACE_21), GetVarPlugin.class).executePlugin(contextMock.getMock()),
            v123);
    contextMock.assertInvoked().getVar("x7");
}