@Test
public void testGetDependenciesList() throws ManifestException {

    Manifest manifest = JarHelper.createManifest(manifestContents);
    List<Dependency> list = getDependenciesList(manifest, ManifestField.DEPENDS);
    assertThat(list, hasSize(2));
    assertThat(list, contains(
            new DependencyContainer("some-plugin"),
            new DependencyContainer("another-plugin", "[0.9,)")
    ));
}