Skip to content

Instantly share code, notes, and snippets.

@bopbi
Created April 12, 2024 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bopbi/2ebd07f42c140cc63f875c25cfc857ee to your computer and use it in GitHub Desktop.
Save bopbi/2ebd07f42c140cc63f875c25cfc857ee to your computer and use it in GitHub Desktop.
konsist
@Test
fun model_package_is_serialized() {
Konsist.scopeFromProject()
.classes()
.withPackage("com.bobbyprabowo.android.konsistsandbox.model")
.assertTrue {
it.hasParentOf(Serializable::class)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment