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 shouldThrowNullPointerIfKeyValueBytesStoreSupplierIsNull() {
        final NullPointerException e = assertThrows(NullPointerException.class,
            () -> Materialized.as((KeyValueBytesStoreSupplier) null));

        assertEquals(e.getMessage(), "supplier can't be null");
    }