@Test public void testCreateNewProject() { final Project currentProject = this.projectManager.getCurrentProject(); final Project newProject = this.projectManager.createNewProject(); assertNotSame( "No new instance of a project created?!", currentProject, newProject ); }
public Project createNewProject() { setProject( new ProjectImpl() ); return this.project; }
ProjectManagerImpl implements PropertyChangeListener, ProjectManager, ProjectProperties { public Project createNewProject() { setProject( new ProjectImpl() ); return this.project; } }
ProjectManagerImpl implements PropertyChangeListener, ProjectManager, ProjectProperties { public Project createNewProject() { setProject( new ProjectImpl() ); return this.project; } ProjectManagerImpl(); }
ProjectManagerImpl implements PropertyChangeListener, ProjectManager, ProjectProperties { public Project createNewProject() { setProject( new ProjectImpl() ); return this.project; } ProjectManagerImpl(); void addPropertyChangeListener( final PropertyChangeListener aListener ); Project createNewProject(); Project createTemporaryProject(); @Override Project getCurrentProject(); @Override void loadProject( final InputStream aInput ); @Override void propertyChange( final PropertyChangeEvent aEvent ); void removePropertyChangeListener( final PropertyChangeListener aListener ); @Override void saveProject( final OutputStream aOutput ); void setHostProperties( final HostProperties aHostProperties ); }
ProjectManagerImpl implements PropertyChangeListener, ProjectManager, ProjectProperties { public Project createNewProject() { setProject( new ProjectImpl() ); return this.project; } ProjectManagerImpl(); void addPropertyChangeListener( final PropertyChangeListener aListener ); Project createNewProject(); Project createTemporaryProject(); @Override Project getCurrentProject(); @Override void loadProject( final InputStream aInput ); @Override void propertyChange( final PropertyChangeEvent aEvent ); void removePropertyChangeListener( final PropertyChangeListener aListener ); @Override void saveProject( final OutputStream aOutput ); void setHostProperties( final HostProperties aHostProperties );  }