test_class.file: core/src/test/java/net/adamcin/oakpal/core/jcrfacade/RepositoryFacadeTest.java
test_class.identifier: RepositoryFacadeTest
test_case.body: @Test
      public void testIsSingleValueDescriptor() {
          final Repository mockRepository = mock(Repository.class);
          when(mockRepository.isSingleValueDescriptor(anyString())).thenReturn(false);
          when(mockRepository.isSingleValueDescriptor("SOME_KEY")).thenReturn(true);
          final RepositoryFacade facade = getFacade(mockRepository);
          assertTrue("SOME_KEY should be true",
                  facade.isSingleValueDescriptor("SOME_KEY"));
          assertFalse("anyString key should be false",
                  facade.isSingleValueDescriptor("ANOTHER_KEY"));
          final RepositoryFacade facadeNull = getFacade(null);
          assertFalse("null should return false",
                  facadeNull.isSingleValueDescriptor("SOME_KEY"));
      }
test_case.class_method_signature: RepositoryFacadeTest.testIsSingleValueDescriptor()
test_case.full_signature: @Test public void testIsSingleValueDescriptor()
test_case.identifier: testIsSingleValueDescriptor
test_case.invocations: mock thenReturn when isSingleValueDescriptor anyString thenReturn when isSingleValueDescriptor getFacade assertTrue isSingleValueDescriptor assertFalse isSingleValueDescriptor getFacade assertFalse isSingleValueDescriptor
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsSingleValueDescriptor()
focal_class.declarator: delegate
focal_class.modifier: private final @Nullable
focal_class.original_string: private final @Nullable Repository delegate;
focal_class.type: Repository
focal_class.var_name: delegate
focal_class.file: core/src/main/java/net/adamcin/oakpal/core/jcrfacade/RepositoryFacade.java
focal_class.identifier: RepositoryFacade
focal_class.interfaces: implements Repository
focal_class.class_method_signature: RepositoryFacade.RepositoryFacade(final @Nullable Repository delegate)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") public  RepositoryFacade(final @Nullable Repository delegate)
focal_class.identifier: RepositoryFacade
focal_class.modifiers: @SuppressWarnings("WeakerAccess") public
focal_class.parameters: (final @Nullable Repository delegate)
focal_class.signature:  RepositoryFacade(final @Nullable Repository delegate)
focal_class.class_method_signature: RepositoryFacade.getDescriptorKeys()
focal_class.full_signature: @Override public String[] getDescriptorKeys()
focal_class.identifier: getDescriptorKeys
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getDescriptorKeys()
focal_class.class_method_signature: RepositoryFacade.isStandardDescriptor(String key)
focal_class.full_signature: @Override public boolean isStandardDescriptor(String key)
focal_class.identifier: isStandardDescriptor
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: boolean
focal_class.signature: boolean isStandardDescriptor(String key)
focal_class.class_method_signature: RepositoryFacade.isSingleValueDescriptor(String key)
focal_class.full_signature: @Override public boolean isSingleValueDescriptor(String key)
focal_class.identifier: isSingleValueDescriptor
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: boolean
focal_class.signature: boolean isSingleValueDescriptor(String key)
focal_class.class_method_signature: RepositoryFacade.getDescriptorValue(String key)
focal_class.full_signature: @Override public Value getDescriptorValue(String key)
focal_class.identifier: getDescriptorValue
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: Value
focal_class.signature: Value getDescriptorValue(String key)
focal_class.class_method_signature: RepositoryFacade.getDescriptorValues(String key)
focal_class.full_signature: @Override public Value[] getDescriptorValues(String key)
focal_class.identifier: getDescriptorValues
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: Value[]
focal_class.signature: Value[] getDescriptorValues(String key)
focal_class.class_method_signature: RepositoryFacade.getDescriptor(String key)
focal_class.full_signature: @Override public String getDescriptor(String key)
focal_class.identifier: getDescriptor
focal_class.modifiers: @Override public
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String getDescriptor(String key)
focal_class.class_method_signature: RepositoryFacade.login(Credentials credentials, String workspaceName)
focal_class.full_signature: @Override public Session login(Credentials credentials, String workspaceName)
focal_class.identifier: login
focal_class.modifiers: @Override public
focal_class.parameters: (Credentials credentials, String workspaceName)
focal_class.return: Session
focal_class.signature: Session login(Credentials credentials, String workspaceName)
focal_class.class_method_signature: RepositoryFacade.login(Credentials credentials)
focal_class.full_signature: @Override public Session login(Credentials credentials)
focal_class.identifier: login
focal_class.modifiers: @Override public
focal_class.parameters: (Credentials credentials)
focal_class.return: Session
focal_class.signature: Session login(Credentials credentials)
focal_class.class_method_signature: RepositoryFacade.login(String workspaceName)
focal_class.full_signature: @Override public Session login(String workspaceName)
focal_class.identifier: login
focal_class.modifiers: @Override public
focal_class.parameters: (String workspaceName)
focal_class.return: Session
focal_class.signature: Session login(String workspaceName)
focal_class.class_method_signature: RepositoryFacade.login()
focal_class.full_signature: @Override public Session login()
focal_class.identifier: login
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Session
focal_class.signature: Session login()
focal_method.body: @Override
      public boolean isSingleValueDescriptor(String key) {
          return delegate != null && delegate.isSingleValueDescriptor(key);
      }
focal_method.class_method_signature: RepositoryFacade.isSingleValueDescriptor(String key)
focal_method.full_signature: @Override public boolean isSingleValueDescriptor(String key)
focal_method.identifier: isSingleValueDescriptor
focal_method.invocations: isSingleValueDescriptor
focal_method.modifiers: @Override public
focal_method.parameters: (String key)
focal_method.return: boolean
focal_method.signature: boolean isSingleValueDescriptor(String key)