org.fest.assertions.error
Class ShouldContainKey
java.lang.Object
org.fest.assertions.error.BasicErrorMessageFactory
org.fest.assertions.error.ShouldContainKey
- All Implemented Interfaces:
- ErrorMessageFactory
public class ShouldContainKey
- extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies a map contains a key..
- Author:
- Nicolas François
shouldContainKey
public static ErrorMessageFactory shouldContainKey(Object actual,
Object key)
- Creates a new
ShouldContainKey
.
- Parameters:
actual
- the actual value in the failed assertion.
- Returns:
- the created
ErrorMessageFactory
.
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.