### Question:
ChangeFactory { boolean isChangeList(File changeFile) { try { loadXML(XMLChangeList.class, changeFile); return true; } catch (RuntimeException e) { return false; } }  ChangeList createChangeList();  }### Answer:
@Test public void shouldIdentifyChangeListFile() throws Exception { boolean result = changeFactory.isChangeList(changeList); assertTrue(result); }
@Test public void shouldIdentifyChangeFile() throws Exception { boolean result = changeFactory.isChangeList(changeFile); assertFalse(result); }