Class ShouldBeLess

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.db.error.ShouldBeLess
All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory

public class ShouldBeLess extends org.assertj.core.error.BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a value is less than another value.
Author:
Régis Pouiller
  • Field Summary

    Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory

    arguments, format
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.assertj.core.error.ErrorMessageFactory
    shouldBeLess(Value actual, Object expected)
    Creates a new ShouldBeLess.

    Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory

    create, create, create, equals, hashCode, toString, unquotedString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • shouldBeLess

      public static org.assertj.core.error.ErrorMessageFactory shouldBeLess(Value actual, Object expected)
      Creates a new ShouldBeLess.
      Parameters:
      actual - The actual value in the failed assertion.
      expected - The expected value to compare to.
      Returns:
      the created ErrorMessageFactory.