MulePolicyArtifactContentResolver extends MuleArtifactContentResolver { @Override protected boolean hasMuleAsRootElement(Path path) { return path.getFileName().toString().equals(TEMPLATE_FILE) || super.hasMuleAsRootElement(path); } MulePolicyArtifactContentResolver(ProjectStructure projectStructure, Pom pom,
                                           List<BundleDependency> bundleDependencies);   }
@Test public void hasMuleAsRootElementWithNullDocument() { assertThat("Method should have returned true", resolver.hasMuleAsRootElement(path)); }