Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Created Oct 18, 2017
Embed
What would you like to do?
@Test
fun clearBufferoosClearsData() {
val cachedBufferoo = BufferooFactory.makeCachedBufferoo()
bufferoosDatabase.cachedBufferooDao().insertBufferoo(cachedBufferoo)
bufferoosDatabase.cachedBufferooDao().clearBufferoos()
assert(bufferoosDatabase.cachedBufferooDao().getBufferoos().isEmpty())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment