@Test public void notParentMavenProject() { MavenProject mavenProject = mock(MavenProject.class); given(mavenProject.getPackaging()).willReturn("jar"); assertEquals(mavenProject.getPackaging(), "jar"); MavenPluginUtil mavenPluginUtil = new MavenPluginUtil(); assertFalse(mavenPluginUtil.isParentProject(mavenProject)); }
public static boolean isParentProject(MavenProject project){ return PARENT_PROJECT_PACKAGING.equals(project.getPackaging()); }
MavenPluginUtil { public static boolean isParentProject(MavenProject project){ return PARENT_PROJECT_PACKAGING.equals(project.getPackaging()); } }
MavenPluginUtil { public static boolean isParentProject(MavenProject project){ return PARENT_PROJECT_PACKAGING.equals(project.getPackaging()); }  }
MavenPluginUtil { public static boolean isParentProject(MavenProject project){ return PARENT_PROJECT_PACKAGING.equals(project.getPackaging()); }  static boolean isParentProject(MavenProject project); }
MavenPluginUtil { public static boolean isParentProject(MavenProject project){ return PARENT_PROJECT_PACKAGING.equals(project.getPackaging()); }  static boolean isParentProject(MavenProject project);  }