useful-stuff

A place to keep all those useful code snippets, links etc

View project on GitHub

Kotlin Hamcrest Cheat sheet

Although it nice, the Kotlin variant of Hamcrest has a slightly different syntax and it can be hard to find good example on the web


// checking for null
assert.that(root.parent(), absent())