@Test
public void testGetPlanClassPath() {

    Result<OpearFile> opearResult = OpearFile.fromDirectory(
            new File("src/test/resources/OpearFileTest/folders_on_classpath"));
    assertFalse("opearResult should not be a failure", opearResult.isFailure());
    OpearFile opearFile = opearResult.getOrDefault(null);
    assertNotNull("opearFile is not null", opearFile);
    assertArrayEquals("classpath should be", new String[]{"classes", "test-classes"},
            opearFile.metadata.getPlanClassPath());
}