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

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