public static <K, V, S extends StateStore> Materialized<K, V, S> as(final DslStoreSuppliers storeSuppliers) {
        Objects.requireNonNull(storeSuppliers, "store type can't be null");
        return new Materialized<>(storeSuppliers);
    }
@Test
    public void shouldNotAllowInvalidTopicNames() {
        final String invalidName = "not:valid";
        final TopologyException e = assertThrows(TopologyException.class,
            () -> Materialized.as(invalidName));

        assertEquals(e.getMessage(), "Invalid topology: Name \"" + invalidName +
            "\" is illegal, it contains a character other than " + "ASCII alphanumerics, '.', '_' and '-'");
    }