Skip to content

Commit

Permalink
further appeasement
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaspayette committed Feb 6, 2025
1 parent 517a7b5 commit 27bcf2d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* lies within the specified date range. Otherwise, it evaluates to {@code false}.
*/
@Getter
public class BetweenDates implements Predicate<Action> {
public final class BetweenDates implements Predicate<Action> {

@NonNull private final LocalDate start;
@NonNull private final LocalDate end;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;

/**
* Test class for {@link BetweenDatesFactory}.
* <p>
* This class contains tests for the `newInstance` method of `BetweenDatesFactory`. The
* `newInstance` method creates a new {@link BetweenDates} object using the start and end dates
* obtained from the provided {@link Simulation}.
*/
@SuppressWarnings("unchecked")
class BetweenDatesFactoryTest {

/**
* Test class for {@link BetweenDatesFactory}.
*
* This class contains tests for the `newInstance` method of `BetweenDatesFactory`.
* The `newInstance` method creates a new {@link BetweenDates} object
* using the start and end dates obtained from the provided {@link Simulation}.
*/

/**
* Test when `newInstance` method successfully creates a `BetweenDates` object with valid start
* and end dates.
Expand Down

0 comments on commit 27bcf2d

Please sign in to comment.