org.fest.assertions.error
Class ShouldContainKey

java.lang.Object
  extended by org.fest.assertions.error.BasicErrorMessageFactory
      extended by 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

Method Summary
static ErrorMessageFactory shouldContainKey(Object actual, Object key)
          Creates a new ShouldContainKey.
 
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory
create, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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.