test_class.declarator: SECRETS_DIR = "/secrets/"
test_class.modifier: private static final
test_class.original_string: private static final String SECRETS_DIR = "/secrets/";
test_class.type: String
test_class.var_name: SECRETS_DIR
test_class.declarator: PASSWORD_FILE_SUFFIX = "_password"
test_class.modifier: private static final
test_class.original_string: private static final String PASSWORD_FILE_SUFFIX = "_password";
test_class.type: String
test_class.var_name: PASSWORD_FILE_SUFFIX
test_class.declarator: PLUMBUS_SECRET_FILE_NAME = "plumbus" + PASSWORD_FILE_SUFFIX
test_class.modifier: private static final
test_class.original_string: private static final String PLUMBUS_SECRET_FILE_NAME = "plumbus" + PASSWORD_FILE_SUFFIX;
test_class.type: String
test_class.var_name: PLUMBUS_SECRET_FILE_NAME
test_class.declarator: PLUMBUS_SECRET_FILE_PATH = SECRETS_DIR + PLUMBUS_SECRET_FILE_NAME
test_class.modifier: private static final
test_class.original_string: private static final String PLUMBUS_SECRET_FILE_PATH = SECRETS_DIR + PLUMBUS_SECRET_FILE_NAME;
test_class.type: String
test_class.var_name: PLUMBUS_SECRET_FILE_PATH
test_class.declarator: EMPTY_SECRET_FILE_NAME = "empty" + PASSWORD_FILE_SUFFIX
test_class.modifier: private static final
test_class.original_string: private static final String EMPTY_SECRET_FILE_NAME = "empty" + PASSWORD_FILE_SUFFIX;
test_class.type: String
test_class.var_name: EMPTY_SECRET_FILE_NAME
test_class.declarator: EMPTY_SECRET_FILE_PATH = SECRETS_DIR + EMPTY_SECRET_FILE_NAME
test_class.modifier: private static final
test_class.original_string: private static final String EMPTY_SECRET_FILE_PATH = SECRETS_DIR + EMPTY_SECRET_FILE_NAME;
test_class.type: String
test_class.var_name: EMPTY_SECRET_FILE_PATH
test_class.declarator: knownPlumbusSecretPath
test_class.modifier: private static
test_class.original_string: private static Path knownPlumbusSecretPath;
test_class.type: Path
test_class.var_name: knownPlumbusSecretPath
test_class.declarator: knownEmptySecretPath
test_class.modifier: private static
test_class.original_string: private static Path knownEmptySecretPath;
test_class.type: Path
test_class.var_name: knownEmptySecretPath
test_class.file: services/utils/config/src/test/java/org/eclipse/ditto/services/utils/config/raw/SecretFromPathReaderTest.java
test_class.identifier: SecretFromPathReaderTest
test_case.body: @Test
      public void tryToGetInstanceWithNullPath() {
          assertThatNullPointerException()
                  .isThrownBy(() -> SecretFromPathReader.of(null))
                  .withMessage("The Secret path must not be null!")
                  .withNoCause();
      }
test_case.class_method_signature: SecretFromPathReaderTest.tryToGetInstanceWithNullPath()
test_case.full_signature: @Test public void tryToGetInstanceWithNullPath()
test_case.identifier: tryToGetInstanceWithNullPath
test_case.invocations: withNoCause withMessage isThrownBy assertThatNullPointerException of
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void tryToGetInstanceWithNullPath()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(SecretFromPathReader.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(SecretFromPathReader.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: secretName
focal_class.modifier: private final
focal_class.original_string: private final String secretName;
focal_class.type: String
focal_class.var_name: secretName
focal_class.declarator: path
focal_class.modifier: private final
focal_class.original_string: private final Path path;
focal_class.type: Path
focal_class.var_name: path
focal_class.file: services/utils/config/src/main/java/org/eclipse/ditto/services/utils/config/raw/SecretFromPathReader.java
focal_class.identifier: SecretFromPathReader
focal_class.interfaces: implements Supplier<Optional<Secret>>
focal_class.class_method_signature: SecretFromPathReader.SecretFromPathReader(final String theSecretName, final Path thePath)
focal_class.full_signature: private  SecretFromPathReader(final String theSecretName, final Path thePath)
focal_class.identifier: SecretFromPathReader
focal_class.modifiers: private
focal_class.parameters: (final String theSecretName, final Path thePath)
focal_class.signature:  SecretFromPathReader(final String theSecretName, final Path thePath)
focal_class.class_method_signature: SecretFromPathReader.of(final Path path)
focal_class.full_signature: static SecretFromPathReader of(final Path path)
focal_class.identifier: of
focal_class.modifiers: static
focal_class.parameters: (final Path path)
focal_class.return: SecretFromPathReader
focal_class.signature: SecretFromPathReader of(final Path path)
focal_class.class_method_signature: SecretFromPathReader.of(final String secretName, final Path path)
focal_class.full_signature: static SecretFromPathReader of(final String secretName, final Path path)
focal_class.identifier: of
focal_class.modifiers: static
focal_class.parameters: (final String secretName, final Path path)
focal_class.return: SecretFromPathReader
focal_class.signature: SecretFromPathReader of(final String secretName, final Path path)
focal_class.class_method_signature: SecretFromPathReader.get()
focal_class.full_signature: @Override public Optional<Secret> get()
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Optional<Secret>
focal_class.signature: Optional<Secret> get()
focal_class.class_method_signature: SecretFromPathReader.tryToReadSecretFromPath()
focal_class.full_signature: @Nullable private Secret tryToReadSecretFromPath()
focal_class.identifier: tryToReadSecretFromPath
focal_class.modifiers: @Nullable private
focal_class.parameters: ()
focal_class.return: Secret
focal_class.signature: Secret tryToReadSecretFromPath()
focal_class.class_method_signature: SecretFromPathReader.readSecretFromPath()
focal_class.full_signature: private Secret readSecretFromPath()
focal_class.identifier: readSecretFromPath
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Secret
focal_class.signature: Secret readSecretFromPath()
focal_method.body: static SecretFromPathReader of(final Path path) {
          checkNotNull(path, "Secret path");
          final String secretName = String.valueOf(path.getName(path.getNameCount() - 1));
          return of(checkNotNull(secretName, "Secret name"), path);
      }
focal_method.class_method_signature: SecretFromPathReader.of(final Path path)
focal_method.full_signature: static SecretFromPathReader of(final Path path)
focal_method.identifier: of
focal_method.invocations: checkNotNull valueOf getName getNameCount of checkNotNull
focal_method.modifiers: static
focal_method.parameters: (final Path path)
focal_method.return: SecretFromPathReader
focal_method.signature: SecretFromPathReader of(final Path path)