Interface AssertionDsl

    • Method Detail

      • ensure

        DslBuilder ensure​(java.util.function.Predicate<UserSession> predicate)
        Ensure DSL is to assert the predicate passed holds true, otherwise it stops the pipeline.
        Returns:
        DslBuilderImpl instance.
      • ensure

        DslBuilder ensure​(java.util.function.Predicate<UserSession> predicate,
                          java.lang.String reason)
        Ensure DSL is to assert the predicate passed holds true, otherwise it stops the pipeline.
        Returns:
        DslBuilderImpl instance.