use of org.apache.bookkeeper.meta.AbstractZkLedgerManagerFactory in project bookkeeper by apache.
the class AbstractConfigurationTest method testUnknownZkLedgerManagerFactory.
@SuppressWarnings({ "unchecked" })
@Test(expected = IllegalArgumentException.class)
public void testUnknownZkLedgerManagerFactory() throws Exception {
AbstractZkLedgerManagerFactory mockZkFactory = mock(AbstractZkLedgerManagerFactory.class, CALLS_REAL_METHODS);
conf.setLedgerManagerFactoryClass(mockZkFactory.getClass());
conf.getMetadataServiceUri();
}
Aggregations