protected boolean isTenantRoutingContentStore(ContentStore contentStore) { boolean router = tenantRoutingContentStore(contentStore) != null; return router; }
protected boolean isTenantRoutingContentStore(ContentStore contentStore) { boolean router = tenantRoutingContentStore(contentStore) != null; return router; }
@Test public void testTenantRoutingContentStoreMayBeNullWhenInterfaceNotImplemented() { ContentStore contentStore = new BaseStore(); TenantRoutingContentStore router = tenantAdmin.tenantRoutingContentStore(contentStore); assertNull(router); }
@Test public void testTenantRoutingContentStoreMayBeNullWhenProxyingAndInterfaceNotImplemented() { // Represents proxy in front of non-TenantRoutingContentStore ContentStore ContentStore contentStore = new FakeSubsystemProxy(true); TenantRoutingContentStore router = tenantAdmin.tenantRoutingContentStore(contentStore); assertNull(router); }
@Test public void testTenantRoutingContentStore() { ContentStore contentStore = new ConcreteTenantRoutingContentStore(); TenantRoutingContentStore router = tenantAdmin.tenantRoutingContentStore(contentStore); assertNotNull(router); }
@Test public void testTenantRoutingContentStoreRetrievedByContentStoreCaps() { ContentStore contentStore = new FakeSubsystemProxy(false); TenantRoutingContentStore router = tenantAdmin.tenantRoutingContentStore(contentStore); assertNotNull(router); }