@Test public void testFlowPartInfoCreation() throws Exception { Flow flow = Flows.createFlow(PACKET, 1); FlowPart part = flow.getPart("0.0"); FlowPartInfo info = part.getInfo(flow); assertEquals("CLEAN", info.getStatus()); assertEquals(0, info.getContributionCount()); flow.acknowledge("0.0", false); info = part.getInfo(flow); assertEquals(1, info.getContributionCount()); }