package com.correx.testing.contracts.fixtures.artifactstore

import com.correx.core.artifactstore.ArtifactStore
import com.correx.core.events.types.ArtifactId
import com.correx.core.utils.TypeId

class NoopArtifactStore : ArtifactStore {
    override suspend fun put(bytes: ByteArray): ArtifactId = TypeId("00".repeat(32))
    override suspend fun get(id: ArtifactId): ByteArray? = null
    override suspend fun flushBefore(commit: suspend () -> Unit) { commit() }
}
