Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailSuendukov committed Aug 17, 2023
1 parent deb6639 commit 5aaca35
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.ArgumentMatchers.eq;
import static org.mockito.ArgumentMatchers.isNull;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
Expand Down Expand Up @@ -182,7 +184,7 @@ public void readNotNullDataResidencyRegionTest() throws JSONException {
AbstractLog mockLog = new MockLogWithType();
mockLog.read(mockJsonObject);

verify(mockJsonObject).optString(DATA_RESIDENCY_REGION, null);
verify(mockJsonObject).optString(eq(DATA_RESIDENCY_REGION), isNull());
}

@Test
Expand Down

0 comments on commit 5aaca35

Please sign in to comment.