Package org.assertj.guava.error
Class ShouldHaveSize
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.guava.error.ShouldHaveSize
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a value have certain size failed.
- Author:
- Joel Costigliola
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactoryshouldHaveSize(Object actual, long actualSize, long expectedSize) Creates a new.ShouldHaveSizeMethods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldHaveSize
Creates a new.ShouldHaveSize- Parameters:
actual- the actual value in the failed assertion.actualSize- the size ofactual.expectedSize- the expected size.- Returns:
- the created
ErrorMessageFactory.
-