@Test public void testInvalidXmlFile() { final String xmlFileName = "SLI-InterchangeSchool.xml"; final String parentDir = "dummylz"; final String checksum = "e1e10"; IngestionFileEntry xmlFile = new IngestionFileEntry(parentDir, FileFormat.EDFI_XML, FileType.CONTROL, xmlFileName, checksum); Resource xsdResource = xsdSelector.provideXsdResource(xmlFile); assertNull("XSD resource should be null", xsdResource); }
public Resource provideXsdResource(IngestionFileEntry xmlFile) { Resource xsdResource = xsdList.get(xmlFile.getFileType().getName()); return xsdResource; }
XsdSelector { public Resource provideXsdResource(IngestionFileEntry xmlFile) { Resource xsdResource = xsdList.get(xmlFile.getFileType().getName()); return xsdResource; } }
XsdSelector { public Resource provideXsdResource(IngestionFileEntry xmlFile) { Resource xsdResource = xsdList.get(xmlFile.getFileType().getName()); return xsdResource; }  }
XsdSelector { public Resource provideXsdResource(IngestionFileEntry xmlFile) { Resource xsdResource = xsdList.get(xmlFile.getFileType().getName()); return xsdResource; }  Resource provideXsdResource(IngestionFileEntry xmlFile); Map<String, Resource> getXsdList(); void setXsdList(Map<String, Resource> xsdList); }
XsdSelector { public Resource provideXsdResource(IngestionFileEntry xmlFile) { Resource xsdResource = xsdList.get(xmlFile.getFileType().getName()); return xsdResource; }  Resource provideXsdResource(IngestionFileEntry xmlFile); Map<String, Resource> getXsdList(); void setXsdList(Map<String, Resource> xsdList);  }