Removed Trailing spaces in empty lines

This commit is contained in:
Prakash M S
2026-02-18 09:11:08 +00:00
committed by Adam Saghy
parent 2c008e0e65
commit b0ec0a667c
@@ -28,22 +28,18 @@ import org.apache.fineract.portfolio.savings.SavingsPostingInterestPeriodType;
import org.junit.jupiter.api.Test;
class SavingsHelperNPExceptionTest {
private final SavingsHelper savingsHelper = new SavingsHelper(null);
@Test
void shouldNotThrowNullPointerExceptionWhenPostingPeriodTypeIsNull() {
LocalDate start = LocalDate.of(2025, 1, 1);
LocalDate end = LocalDate.of(2025, 4, 1);
SavingsPostingInterestPeriodType nullPostingPeriodType = null;
Integer financialYearBeginningMonth = 1;
List<LocalDate> postInterestAsOn = new ArrayList<>();
List<LocalDateInterval> result = savingsHelper.determineInterestPostingPeriods(start, end, nullPostingPeriodType,
financialYearBeginningMonth, postInterestAsOn);
assertTrue(result.isEmpty(), "Result should be empty when postingPeriodType is null");
}
}