private void initAgent(WrapperMapper agent, String name) { Properties props = getWrapperProps(); agent.init(name, props); AgentConnector connector = new MockAgentConnector(orb, agent); agent.setConnector(connector); }
@Override void initCache() throws CacheException { if (throwCacheException) { throw new CacheException("Fake exception. Totally expected."); } else { super.initCache(); } }