Class TopicSelectorTest


  • public class TopicSelectorTest
    extends Object
    Author:
    Randall Hauch
    • Field Detail

      • noPrefix

        private io.debezium.schema.TopicSelector<io.debezium.connector.mongodb.CollectionId> noPrefix
      • withPrefix

        private io.debezium.schema.TopicSelector<io.debezium.connector.mongodb.CollectionId> withPrefix
    • Constructor Detail

      • TopicSelectorTest

        public TopicSelectorTest()
    • Method Detail

      • beforeEach

        public void beforeEach()
      • shouldHandleCollectionIdWithDatabaseAndCollection

        public void shouldHandleCollectionIdWithDatabaseAndCollection()
      • shouldHandleCollectionIdWithInvalidTopicNameChar

        @FixFor("DBZ-878")
        public void shouldHandleCollectionIdWithInvalidTopicNameChar()
      • assertTopic

        protected org.fest.assertions.StringAssert assertTopic​(io.debezium.schema.TopicSelector<io.debezium.connector.mongodb.CollectionId> selector,
                                                               io.debezium.connector.mongodb.CollectionId collectionId)
      • dbAndCollection

        protected io.debezium.connector.mongodb.CollectionId dbAndCollection​(String dbName,
                                                                             String collectionName)