    @Test
    public void exposedRepositoryScopeTest() {

        final String EXPOSED_AT = "/svc:/123()";

        when(registryDelegate.get(EXTENSION_URI)).thenReturn(rdfResource(EXTENSION,
                ltriple(EXTENSION, PROP_EXPOSES_SERVICE_AT, EXPOSED_AT)));

        assertEquals(Scope.REPOSITORY, toTest.getExtension(EXTENSION_URI).exposed().scope());
    }