### Question:
UpdateFile implements Comparable<UpdateFile> { public List<Step> getOrderedSteps() { return getStepNodes(); } UpdateFile(String file); String getFile(); List<Step> getOrderedSteps(); int extractVersion(); @Override int compareTo(UpdateFile o); @Override String toString();  }### Answer:
@Test public void bindingErrorNoProperties() throws Exception { UpdateFile updateFile = new UpdateFile("required_binding.xml"); updateFile.getOrderedSteps(); }
@Test(expectedExceptions = RuntimeException.class) public void badFileNoUpdatePlan() { UpdateFile updateFile = new UpdateFile("bad_file_1.xml"); updateFile.getOrderedSteps(); }
@Test(expectedExceptions = RuntimeException.class) public void badFileBadXML() { UpdateFile updateFile = new UpdateFile("bad_file_3.xml"); updateFile.getOrderedSteps(); }