Class InstantAssert

All Implemented Interfaces:
Assert<InstantAssert,Instant>, Descriptable<InstantAssert>, ExtensionPoints<InstantAssert,Instant>

public class InstantAssert extends AbstractInstantAssert<InstantAssert>
Assertion methods for Instants.

To create an instance of this class, invoke Assertions.assertThat(Instant).

Since:
3.7.0
  • Constructor Details

    • InstantAssert

      public InstantAssert(Instant actual)
      Creates a new AbstractInstantAssert.
      Parameters:
      actual - the actual value to verify
      Since:
      3.7.0