use of org.apache.sling.discovery.DiscoveryService in project sling by apache.
the class NoClusterDiscoveryServiceTest method testBasics.
@Test
public void testBasics() throws Exception {
final DiscoveryService service = this.createService(true);
assertNotNull(service.getTopology());
assertTrue(service.getTopology().isCurrent());
invoke(service, "deactivate");
assertNull(service.getTopology());
}
Aggregations