Source:
<code>public void testReadAllSimulationProperties() { SimulationDataProvider provider = new BPMN2SimulationDataProvider(this.getClass().getResourceAsStream("/BPMN2-UserTaskWithSimulationMetaData.bpmn2")); Map<String, Object> data = provider.getSimulationDataForNode(new Node() { public List<Connection> getOutgoingConnections(String type) { return null; } public Map<String, List<Connection>> getOutgoingConnections() { return null; } public NodeContainer getNodeContainer() { return null; } public String getName() { return "Hello"; } public Object getMetaData(String name) { return null; } public Map<String, Object> getMetaData() { Map<String, Object> metaData = new HashMap<String, Object>(); metaData.put("UniqueId", "_2B5B707D-3458-475C-943D-74F20B13AF20"); return metaData; } public List<Connection> getIncomingConnections(String type) { return null; } public Map<String, List<Connection>> getIncomingConnections() { return null; } public long getId() { return 2; } <START> @Override public String getUniqueId() { return null; } <END> @Override public String getNodeUniqueId() { return null; } }); assertNotNull(data); assertEquals(9, data.size()); assertTrue(data.containsKey(SimulationConstants.COST_PER_TIME_UNIT)); assertTrue(data.containsKey(SimulationConstants.DISTRIBUTION_TYPE)); assertTrue(data.containsKey(SimulationConstants.STANDARD_DEVIATION)); assertTrue(data.containsKey(SimulationConstants.MEAN)); assertTrue(data.containsKey(SimulationConstants.STAFF_AVAILABILITY)); assertTrue(data.containsKey(SimulationConstants.STANDARD_DEVIATION)); assertTrue(data.containsKey(SimulationConstants.TIMEUNIT)); assertTrue(data.containsKey(SimulationConstants.WORKING_HOURS)); assertTrue(data.containsKey(SimulationConstants.PROBABILITY)); }</code><technical_language>Please remove this. is method defined in interface Node</technical_language>

Target:
public void testReadAllSimulationProperties() { SimulationDataProvider provider = new BPMN2SimulationDataProvider(this.getClass().getResourceAsStream("/BPMN2-UserTaskWithSimulationMetaData.bpmn2")); Map<String, Object> data = provider.getSimulationDataForNode(new Node() { public List<Connection> getOutgoingConnections(String type) { return null; } public Map<String, List<Connection>> getOutgoingConnections() { return null; } public NodeContainer getNodeContainer() { return null; } public String getName() { return "Hello"; } public Object getMetaData(String name) { return null; } public Map<String, Object> getMetaData() { Map<String, Object> metaData = new HashMap<String, Object>(); metaData.put("UniqueId", "_2B5B707D-3458-475C-943D-74F20B13AF20"); return metaData; } public List<Connection> getIncomingConnections(String type) { return null; } public Map<String, List<Connection>> getIncomingConnections() { return null; } public long getId() { return 2; } @Override public String getNodeUniqueId() { return null; } }); assertNotNull(data); assertEquals(9, data.size()); assertTrue(data.containsKey(SimulationConstants.COST_PER_TIME_UNIT)); assertTrue(data.containsKey(SimulationConstants.DISTRIBUTION_TYPE)); assertTrue(data.containsKey(SimulationConstants.STANDARD_DEVIATION)); assertTrue(data.containsKey(SimulationConstants.MEAN)); assertTrue(data.containsKey(SimulationConstants.STAFF_AVAILABILITY)); assertTrue(data.containsKey(SimulationConstants.STANDARD_DEVIATION)); assertTrue(data.containsKey(SimulationConstants.TIMEUNIT)); assertTrue(data.containsKey(SimulationConstants.WORKING_HOURS)); assertTrue(data.containsKey(SimulationConstants.PROBABILITY)); }