### Question:
MtaBusDepotFileToDataCreator { public List<MtaBusDepotAssignment> loadDepotAssignments() throws IOException { BusDepotAssignsInputConverter inConv = new XMLBusDepotAssignsInputConverter( inputFile); List<MtaBusDepotAssignment> assignments = inConv.getBusDepotAssignments(); return assignments; } MtaBusDepotFileToDataCreator(File mtaBusDepotFile); VehicleDepotData generateDataObject(); List<MtaBusDepotAssignment> loadDepotAssignments(); void setDepotIdTranslator(DepotIdTranslator depotIdTranslator);  }### Answer:
@Test public void testLoadDepotAssignments() throws FileNotFoundException, IOException, URISyntaxException { URI depAssignUri = getClass().getResource("/DOB_draft_depot_assignments.xml").toURI(); MtaBusDepotFileToDataCreator dcreator = new MtaBusDepotFileToDataCreator(new File(depAssignUri)); List<MtaBusDepotAssignment> assignments = dcreator.loadDepotAssignments(); assertNotNull(assignments); assertTrue(assignments.size() > 0); MtaBusDepotAssignment assignment = assignments.get(0); assertEquals(new Long(2008), assignment.getAgencyId()); assertEquals(1009, assignment.getBusNumber()); assertEquals("GH", assignment.getDepot()); }