### Question:
DefinitionsPropertyReader extends BasePropertyReader { public List<WSDLImport> getWSDLImports() { return definitions.getImports().stream() .map(PropertyReaderUtils::toWSDLImports) .collect(Collectors.toList()); } DefinitionsPropertyReader(Definitions element, BPMNDiagram diagram, BPMNShape shape, double resolutionFactor); List<WSDLImport> getWSDLImports();  }### Answer:
@Test public void getWSDLImports() { final String LOCATION = "location"; final String NAMESPACE = "namespace"; final int QTY = 10; for (int i = 0; i < QTY; i++) { Import imp = PropertyWriterUtils.toImport(new WSDLImport(LOCATION + i, NAMESPACE + i)); definitions.getImports().add(imp); } List<WSDLImport> wsdlImports = tested.getWSDLImports(); assertEquals(QTY, wsdlImports.size()); for (int i = 0; i < QTY; i++) { assertEquals(LOCATION + i, wsdlImports.get(i).getLocation()); assertEquals(NAMESPACE + i, wsdlImports.get(i).getNamespace()); } }