@Test(expected = TopologyBuilderException.class)
public void testAddStateStoreWithNonExistingProcessor() {

    final TopologyBuilder builder = new TopologyBuilder();
    builder.addStateStore(new MockStateStoreSupplier("store", false), "no-such-processsor");
}