@Test
public void testGetResourcesNoUserInput() throws Exception {

    ResourceLookupContext resourceLookupContext = Mockito.mock(ResourceLookupContext.class);
    when(resourceLookupContext.getUserInput()).thenReturn("");
    final List<String> expectedResources = new ArrayList<>();
    expectedResources.add("/policies");
    expectedResources.add("/tenants");
    expectedResources.add("/proxy");
    expectedResources.add("/actuator");
    expectedResources.add("/swagger");
    expectedResources.add("/buckets");
    expectedResources.add("/buckets/fc0625e4-a9ae-4277-bab7-a2bc984f6c4f");
    expectedResources.add("/buckets/0b5edba5-da83-4839-b64a-adf5f21abaf4");
    List<String> resources = registryClient.getResources(resourceLookupContext);
    Assert.assertNotNull(resources);
    Assert.assertEquals(expectedResources.size(), resources.size());
    Assert.assertTrue(resources.containsAll(expectedResources));
}