use of io.confluent.ksql.execution.transform.KsqlProcessingContext in project ksql by confluentinc.
the class KsTransformerTest method shouldExposeRowTime.
@Test
public void shouldExposeRowTime() {
// Given:
ksTransformer.transform(KEY, VALUE);
final KsqlProcessingContext ksqlCtx = getKsqlProcessingContext();
// When:
final long rowTime = ksqlCtx.getRowTime();
// Then:
assertThat(rowTime, is(ROWTIME));
}
Aggregations