@Test
public void testSetVariableMapper() {

    VariableMapper variableMapper = createMock(VariableMapper.class);
    replay(resolver, variableMapper);
    context.setVariableMapper(variableMapper);
    assertEquals(variableMapper, context.getVariableMapper());
    verify(resolver, variableMapper);
}