broker = new KafkaTestBroker();
simpleConsumer = TestUtils.getKafkaConsumer(broker);
config = TestUtils.getConfig(broker.getBrokerConnectionString());
mapper = new FieldNameBasedTupleToKafkaMapper("key", "message");
topicSelector = new DefaultTopicSelector(TestUtils.TOPIC);
state = new TridentKafkaState()
.withKafkaTopicSelector(topicSelector)
.withTridentTupleToKafkaMapper(mapper);
state.prepare(config);
}