@Override
    public <S extends StateStore> S getStateStore(final String name) {
        throw new UnsupportedOperationException("StateStores can't access getStateStore.");
    }
@Test
    public void shouldThrowOnGetStateStore() {
        assertThrows(UnsupportedOperationException.class, () -> context.getStateStore("store"));
    }