use of io.confluent.kafkarest.resources.v2.PartitionsResource in project kafka-rest by confluentinc.
the class PartitionsResourceTest method configure.
@Override
protected Application configure() {
partitionManager = createMock(PartitionManager.class);
ResourceConfig application = new ResourceConfig();
application.register(new PartitionsResource(() -> partitionManager));
application.register(new JacksonMessageBodyProvider());
return application;
}
Aggregations