@Test
public void testRun() {

	topology.addEntranceProcessingItem(entrancePi);
	
	new NonStrictExpectations() {
		{
			entrancePi.getProcessor();
			result=entranceProcessor;
			
		}
	};
	
	new Expectations() {
		{
			entranceProcessor.onCreate(anyInt);	
			entrancePi.startSendingEvents();
		}
	};
	topology.run();
}