### Question:
RollbackListCommand extends AbstractListCommand<RollbackPatch> { public RollbackListCommand(EnvSettings envSettings) { super(envSettings); } RollbackListCommand(EnvSettings envSettings);   }### Answer:
@Test public void testRollbackListCommand() throws Exception { RollbackListCommand command = prepareCommand(RollbackListCommand.class); List<Patch> patchList = new LinkedList<Patch>(); List<RollbackPatch> rollbackPatchList; rollbackPatchList = command.generateList(patchList); Assert.assertEquals(0, rollbackPatchList.size()); Patch patch = addPatchToATestContext("010.patch1", "010.patch1.sql"); patchList.add(patch); rollbackPatchList = command.generateList(patchList); Assert.assertEquals(1, rollbackPatchList.size()); Assert.assertTrue(rollbackPatchList.get(0).isMissing()); addPatchToATestContext("010.patch1", "010.patch1.sql.rollback"); rollbackPatchList = command.generateList(patchList); RollbackPatch rollbackPatch = rollbackPatchList.get(0); Assert.assertFalse(rollbackPatch.isMissing()); Assert.assertFalse(rollbackPatch.canApply()); }