c.setValueFor("provider", "Mock Scaffold Provider");
c.setValueFor("webRoot", "");
Assert.assertTrue(c.isValid());
// Force the resolution of the next step. Without this ScaffoldSetupWizardImpl.next() is not evaluated.
Assert.assertFalse(c.canMoveToNextStep());
Result result = c.execute();
// Verify successful execution
Assert.assertNotNull(result);
Assert.assertFalse(result instanceof Failed);
}
try (WizardCommandController c = testHarness.createWizardController(ScaffoldGenerateCommand.class, project.getRoot()))
{
c.initialize();
c.setValueFor("provider", "Mock Scaffold Provider");
c.setValueFor("webRoot", "");
Assert.assertTrue(c.isValid());
// Force the resolution of the next step. Without this ScaffoldGenerateCommandImpl.next() is not evaluated.
Assert.assertFalse(c.canMoveToNextStep());
Result result = c.execute();
// Verify successful execution
Assert.assertNotNull(result);
Assert.assertFalse(result instanceof Failed);
}