Class BindexRepositoryCreateMongoClientTest

java.lang.Object
org.machanism.machai.bindex.BindexRepositoryCreateMongoClientTest

class BindexRepositoryCreateMongoClientTest extends Object
  • Constructor Details

    • BindexRepositoryCreateMongoClientTest

      BindexRepositoryCreateMongoClientTest()
  • Method Details

    • createMongoClient_shouldUsePublicCredentialsWhenPasswordIsNull

      @Test void createMongoClient_shouldUsePublicCredentialsWhenPasswordIsNull() throws Exception
      FalsePositive The project uses JUnit Jupiter without the parameterized-test engine on the classpath. A true @ParameterizedTest would require adding/upgrading JUnit Platform dependencies, which is out of scope for this automated change. Duplication is minimized via a shared helper.
      Throws:
      Exception
    • createMongoClient_shouldUseRegisterCredentialsWhenPasswordIsProvided

      @Test void createMongoClient_shouldUseRegisterCredentialsWhenPasswordIsProvided() throws Exception
      FalsePositive The project uses JUnit Jupiter without the parameterized-test engine on the classpath. A true @ParameterizedTest would require adding/upgrading JUnit Platform dependencies, which is out of scope for this automated change. Duplication is minimized via a shared helper.
      Throws:
      Exception
    • createMongoClient_shouldUseCustomRepoUrlFromConfig

      @Test void createMongoClient_shouldUseCustomRepoUrlFromConfig() throws Exception
      FalsePositive The third related test validates a different path (custom repo URL) and is kept separate.
      Throws:
      Exception
    • createMongoClient_shouldNotChangeUrlWithoutProtocolDelimiter

      @Test void createMongoClient_shouldNotChangeUrlWithoutProtocolDelimiter() throws Exception
      Throws:
      Exception
    • createMongoClient_shouldReplaceAllProtocolDelimiterOccurrences

      @Test void createMongoClient_shouldReplaceAllProtocolDelimiterOccurrences() throws Exception
      Throws:
      Exception