Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/insert.kt Secret
Created Oct 18, 2017

Embed
What would you like to do?
@Test
fun insertBufferoosSavesData() {
val cachedBufferoo = BufferooFactory.makeCachedBufferoo()
bufferoosDatabase.cachedBufferooDao().insertBufferoo(cachedBufferoo)
val bufferoos = bufferoosDatabase.cachedBufferooDao().getBufferoos()
assert(bufferoos.isNotEmpty())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.