use of org.apache.jackrabbit.oak.spi.mount.SimpleMountInfoProvider in project jackrabbit-oak by apache.
the class SimpleMountInfoProviderTest method defaultMount.
@Test
public void defaultMount() throws Exception {
MountInfoProvider mip = new SimpleMountInfoProvider(Collections.<Mount>emptyList());
assertNotNull(mip.getMountByPath("/a"));
assertTrue(mip.getMountByPath("/a").isDefault());
assertFalse(mip.hasNonDefaultMounts());
}
Aggregations