withTestSerializationEnvIfNotSet

fun <R> withTestSerializationEnvIfNotSet(block: () -> R): R

If effectiveSerializationEnv is not set, runs the block with a new SerializationEnvironmentRule.