Skip to content

Commit

Permalink
fix: fix imports for any() and eq() in NavigationActionsTest.kt
Browse files Browse the repository at this point in the history
Imported the correct version of `any()` and  `eq()` (`org.mockito.kotlin` instead of `org.mockito.Mockito` or `org.mockito.ArgumentMatcher`).
This fixes the `navigateToTopLevelDestinations()` test that was wrongly throwing a `NullPointerException`.
  • Loading branch information
charliemangano committed Oct 13, 2024
1 parent dfa6681 commit fd4579c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import org.hamcrest.CoreMatchers.`is`
import org.hamcrest.MatcherAssert.assertThat
import org.junit.Before
import org.junit.Test
import org.mockito.ArgumentMatchers.any
import org.mockito.ArgumentMatchers.eq
import org.mockito.Mockito.mock
import org.mockito.Mockito.verify
import org.mockito.Mockito.`when`
import org.mockito.kotlin.any
import org.mockito.kotlin.eq

class NavigationActionsTest {

Expand Down

0 comments on commit fd4579c

Please sign in to comment.