Package org.fest.assertions.error
Class ShouldNotHave
- java.lang.Object
- 
- org.fest.assertions.error.BasicErrorMessageFactory
- 
- org.fest.assertions.error.ShouldNotHave
 
 
- 
- All Implemented Interfaces:
- ErrorMessageFactory
 
 public class ShouldNotHave extends BasicErrorMessageFactory Creates an error message indicating that an assertion that verifies that a value does not satisfy aCondition- Author:
- Yvonne Wang, Mikhail Mazursky
 
- 
- 
Field Summary- 
Fields inherited from class org.fest.assertions.error.BasicErrorMessageFactoryarguments, format
 
- 
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> ErrorMessageFactoryshouldNotHave(T actual, Condition<? super T> condition)Creates a newShouldNotHave.- 
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactorycreate, equals, hashCode, toString
 
- 
 
- 
- 
- 
Method Detail- 
shouldNotHavepublic static <T> ErrorMessageFactory shouldNotHave(T actual, Condition<? super T> condition) Creates a newShouldNotHave.- Type Parameters:
- T- guarantees that the type of the actual value and the generic type of the- Conditionare the same.
- Parameters:
- actual- the actual value in the failed assertion.
- condition- the- Condition.
- Returns:
- the created ErrorMessageFactory.
 
 
- 
 
-