*/
private Component setupForIntegrationTest(final InternalComponentResources resources) throws Exception
{
final Logger logger = mockLogger();
MutableComponentModel model = mockMutableComponentModel(logger);
ComponentDefaultProvider defaultProvider = newMock(ComponentDefaultProvider.class);
model.addParameter("invariantObject", false, true, BindingConstants.PROP);
model.addParameter("invariantPrimitive", false, true, BindingConstants.PROP);
model.addParameter("object", false, true, BindingConstants.PROP);
model.addParameter("primitive", true, true, BindingConstants.PROP);