package com.android.onboarding.contracts.testing import com.android.onboarding.contracts.IntentSerializer import org.junit.Test abstract class IntentSerializerTest { protected abstract val target: IntentSerializer protected abstract val data: V @Test fun completeArgument_encodesCorrectly() { assertIntentEncodesCorrectly(target, data) } } abstract class NodeAwareIntentSerializerTest : IntentSerializerTest() { @Test fun noExtras_decodingFailsLazily() { assertEmptyIntentDecodingFailsLazily(target) } }