Chapter 27 - Testing the Repository Implementation for the Insert and Delete Use Cases
//test 5: Ensure repository calls artDao.insertArt() with the correct converted entity.
@Test
fun `insertArt calls dao insert with correct data`() =runTest {
//arrange
val art = Art(name = "Maddy King", artistName = "Kimshi Y...
androidavatar.hashnode.dev4 min read