Class ShouldHaveSizeGreaterThan

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

public class ShouldHaveSizeGreaterThan extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies a minimum size failed.
Author:
Sandra Parsick, Georg Berky
  • Method Details

    • shouldHaveSizeGreaterThan

      public static ErrorMessageFactory shouldHaveSizeGreaterThan(Object actual, int actualSize, int expectedMinSize)
      Parameters:
      actual - the actual value in the failed assertion.
      actualSize - the size of actual.
      expectedMinSize - the expected size.
      Returns:
      the created ErrorMessageFactory.