protected void setUpExternalContext() throws Exception
{
super.setUpExternalContext();
//Set RuntimeConfig object properly to make work ValueExpressions
RuntimeConfig.getCurrentInstance(externalContext).setPropertyResolver(
new MockPropertyResolver());
RuntimeConfig.getCurrentInstance(externalContext).setVariableResolver(
new MockVariableResolver());
RuntimeConfig.getCurrentInstance(externalContext).setExpressionFactory(
new MockExpressionFactory());
}