Package org.fest.assertions.error
Class ShouldHaveSize
- java.lang.Object
-
- org.fest.assertions.error.BasicErrorMessageFactory
-
- org.fest.assertions.error.ShouldHaveSize
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldHaveSize extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a value have certain size failed.- Author:
- Alex Ruiz
-
-
Field Summary
-
Fields inherited from class org.fest.assertions.error.BasicErrorMessageFactory
arguments, format
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldHaveSize(java.lang.Object actual, java.lang.Object actualSize, java.lang.Object expectedSize)
Creates a newShouldHaveSize
.-
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory
create, equals, hashCode, toString
-
-
-
-
Method Detail
-
shouldHaveSize
public static ErrorMessageFactory shouldHaveSize(java.lang.Object actual, java.lang.Object actualSize, java.lang.Object expectedSize)
Creates a newShouldHaveSize
.- Parameters:
actual
- the actual value in the failed assertion.actualSize
- the size ofactual
.expectedSize
- the expected size.- Returns:
- the created
ErrorMessageFactory
.
-
-