protected void setUpProjectAndPackage() throws Exception {
   parentProject = main.addProject(new ProjectModel("parent project"));
   main.setSelectedProejct(parentProject);
   parentPackage = parentProject.addPackage(new PackageModel("Parent Package"));
 }
 protected ProjectModel project() {
   return main.getSelectedProject();
 }
 public void setUp() throws Exception {
   main = new MainApplication();
   main.setIsTesting(true);
   setUpProjectAndPackage();
 }