The configuration of the mocking elements for Munit
101102103104105106107
{ } private MockingConfiguration createConfiguration() { return new MockingConfiguration(haveToDisableInboundEndpoints(), getFlowsExcludedOfInboundDisabling(), haveToMockMuleConnectors(), getStartUpProperties()); }
2122232425262728293031
{ @Test public void test() throws Exception { MuleContextManager muleContextManager = new MuleContextManager(new MockingConfiguration(false, new ArrayList<String>(), false, new Properties())); MuleContext muleContext = muleContextManager.startMule("munit-config.xml"); muleContextManager.killMule(muleContext); assertTrue(TestMunitPlugin.started);