Package org.fest.assertions.error
Class ShouldHaveSameSizeAs
- java.lang.Object
-
- org.fest.assertions.error.BasicErrorMessageFactory
-
- org.fest.assertions.error.ShouldHaveSameSizeAs
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldHaveSameSizeAs extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a value have certain size failed.- Author:
- Nicolas François
-
-
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
shouldHaveSameSizeAs(java.lang.Object actual, java.lang.Object actualSize, java.lang.Object expectedSize)
Creates a newShouldHaveSameSizeAs
.-
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory
create, equals, hashCode, toString
-
-
-
-
Method Detail
-
shouldHaveSameSizeAs
public static ErrorMessageFactory shouldHaveSameSizeAs(java.lang.Object actual, java.lang.Object actualSize, java.lang.Object expectedSize)
Creates a newShouldHaveSameSizeAs
.- Parameters:
actual
- the actual value in the failed assertion.actualSize
- the size ofactual
.expectedSize
- the expected size.- Returns:
- the created
ErrorMessageFactory
.
-
-