import junit.framework.TestCase;
public class NewDtoWizardTest extends TestCase {
public void testWizard() {
final Configuration c = NewDtoWizard.getConfiguration();
final String kind = "Contact";
final ModuleDto contact = c.getModuleDtos().get(kind);
assertEquals(kind, contact.getModule());
assertNotNull(contact.getExtraButtons());
assertNotNull(contact.getFields());
assertNotNull(contact.getFieldById("name"));
assertNotNull(contact.getFieldById("accountId"));