ProjectManager.getDefault().findProject() always returns null in test methods
"Pennywise" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
I have the following issue: ProjectManager.getDefault().findProject() always returns null in JUnit tests. At the same time, if I'm trying to get the project with the help of this method during runtime, it works perfectly. What should I do to get Project in test method?