Skip to content

Commit

Permalink
Remove wildcards
Browse files Browse the repository at this point in the history
  • Loading branch information
ODORA0 committed Aug 1, 2024
1 parent 76c7b43 commit 3e5e8f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package org.openmrs.module.initializer.api;

import static org.junit.Assert.*;
import static org.mockito.Mockito.*;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.mockito.Mockito.when;

import org.junit.Before;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;

import org.junit.Assert;
import static org.junit.Assert.assertTrue;

import static org.junit.Assert.assertFalse;

Expand Down Expand Up @@ -84,7 +83,7 @@ public void load_shouldLoadCashPointsAccordingToCsvFiles() {
// Verify retirement
{
CashPoint cashPoint = iCashPointService.getByUuid("8e48e0be-1a31-4bd3-a54d-ace82653f8b8");
Assert.assertTrue(cashPoint.getRetired());
assertTrue(cashPoint.getRetired());

}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package org.openmrs.module.initializer.api;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;

import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openmrs.module.billing.api.IPaymentModeService;
Expand Down Expand Up @@ -61,7 +62,7 @@ public void load_shouldLoadPaymentModesAccordingToCsvFiles() {
// Verify retirement
{
PaymentMode paymentMode = paymentModeService.getByUuid("2b1b9aae-5d35-43dd-9214-3fd370fd7737");
Assert.assertTrue(paymentMode.getRetired());
assertTrue(paymentMode.getRetired());
}

// Verify unretirement
Expand All @@ -71,7 +72,7 @@ public void load_shouldLoadPaymentModesAccordingToCsvFiles() {
paymentModeService.save(paymentMode);

PaymentMode unretiredPaymentMode = paymentModeService.getByUuid("2b1b9aae-5d35-43dd-9214-3fd370fd7737");
Assert.assertFalse(unretiredPaymentMode.getRetired());
assertFalse(unretiredPaymentMode.getRetired());
}
}
}

0 comments on commit 3e5e8f1

Please sign in to comment.