private Instantiator createRealInstantiator() {
Context.refresh();
Context context = Context.getInstance();
context.setStandaloneContext(APPLICATION_CONTEXT,
Context.DEFAULT_JUNIT_COMMON_DIR_PATH);
SpringInstantiator si = (SpringInstantiator) context.getRequiredBean(
"Instantiator", SpringInstantiator.class);
si.init();
// Instantiate a couple of connectors.
addConnector(si, "connectorA", "TestConnectorA",
"{Username:foo, Password:bar, Color:red, "
+ "RepositoryFile:MockRepositoryEventLog3.txt}");