test_class.declarator: stringSerde = Serdes.String()
test_class.modifier: final private
test_class.original_string: final private Serde<String> stringSerde = Serdes.String();
test_class.type: Serde<String>
test_class.var_name: stringSerde
test_class.declarator: driver = null
test_class.modifier: private
test_class.original_string: private KStreamTestDriver driver = null;
test_class.type: KStreamTestDriver
test_class.var_name: driver
test_class.declarator: stateDir = null
test_class.modifier: private
test_class.original_string: private File stateDir = null;
test_class.type: File
test_class.var_name: stateDir
test_class.file: streams/src/test/java/org/apache/kafka/streams/kstream/internals/KTableSourceTest.java
test_class.identifier: KTableSourceTest
test_case.body: @Test
      public void testSedingOldValue() throws IOException {
          final KStreamBuilder builder = new KStreamBuilder();
  
          String topic1 = "topic1";
  
          KTableImpl<String, String, String> table1 = (KTableImpl<String, String, String>) builder.table(stringSerde, stringSerde, topic1);
  
          table1.enableSendingOldValues();
  
          assertTrue(table1.sendingOldValueEnabled());
  
          MockProcessorSupplier<String, Integer> proc1 = new MockProcessorSupplier<>();
  
          builder.addProcessor("proc1", proc1, table1.name);
  
          driver = new KStreamTestDriver(builder, stateDir, null, null);
  
          driver.process(topic1, "A", "01");
          driver.process(topic1, "B", "01");
          driver.process(topic1, "C", "01");
  
          proc1.checkAndClearProcessResult("A:(01<-null)", "B:(01<-null)", "C:(01<-null)");
  
          driver.process(topic1, "A", "02");
          driver.process(topic1, "B", "02");
  
          proc1.checkAndClearProcessResult("A:(02<-01)", "B:(02<-01)");
  
          driver.process(topic1, "A", "03");
  
          proc1.checkAndClearProcessResult("A:(03<-02)");
  
          driver.process(topic1, "A", null);
          driver.process(topic1, "B", null);
  
          proc1.checkAndClearProcessResult("A:(null<-03)", "B:(null<-02)");
      }
test_case.class_method_signature: KTableSourceTest.testSedingOldValue()
test_case.full_signature: @Test public void testSedingOldValue()
test_case.identifier: testSedingOldValue
test_case.invocations: table enableSendingOldValues assertTrue sendingOldValueEnabled addProcessor process process process checkAndClearProcessResult process process checkAndClearProcessResult process checkAndClearProcessResult process process checkAndClearProcessResult
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSedingOldValue()
focal_class.declarator: topic
focal_class.modifier: public final
focal_class.original_string: public final String topic;
focal_class.type: String
focal_class.var_name: topic
focal_class.declarator: materialized = false
focal_class.modifier: private
focal_class.original_string: private boolean materialized = false;
focal_class.type: boolean
focal_class.var_name: materialized
focal_class.declarator: sendOldValues = false
focal_class.modifier: private
focal_class.original_string: private boolean sendOldValues = false;
focal_class.type: boolean
focal_class.var_name: sendOldValues
focal_class.file: streams/src/main/java/org/apache/kafka/streams/kstream/internals/KTableSource.java
focal_class.identifier: KTableSource
focal_class.interfaces: implements ProcessorSupplier<K, V>
focal_class.class_method_signature: KTableSource.KTableSource(String topic)
focal_class.full_signature: public  KTableSource(String topic)
focal_class.identifier: KTableSource
focal_class.modifiers: public
focal_class.parameters: (String topic)
focal_class.signature:  KTableSource(String topic)
focal_class.class_method_signature: KTableSource.get()
focal_class.full_signature: @Override public Processor<K, V> get()
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Processor<K, V>
focal_class.signature: Processor<K, V> get()
focal_class.class_method_signature: KTableSource.materialize()
focal_class.full_signature: public void materialize()
focal_class.identifier: materialize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void materialize()
focal_class.class_method_signature: KTableSource.isMaterialized()
focal_class.full_signature: public boolean isMaterialized()
focal_class.identifier: isMaterialized
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isMaterialized()
focal_class.class_method_signature: KTableSource.enableSendingOldValues()
focal_class.full_signature: public void enableSendingOldValues()
focal_class.identifier: enableSendingOldValues
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void enableSendingOldValues()
focal_method.body: public void enableSendingOldValues() {
          sendOldValues = true;
      }
focal_method.class_method_signature: KTableSource.enableSendingOldValues()
focal_method.full_signature: public void enableSendingOldValues()
focal_method.identifier: enableSendingOldValues
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void enableSendingOldValues()