org.fest.assertions.description
Class TextDescription
java.lang.Object
org.fest.assertions.description.Description
org.fest.assertions.description.TextDescription
- Direct Known Subclasses:
- EmptyTextDescription
public class TextDescription
- extends Description
A text-based description.
- Author:
- Yvonne Wang, Alex Ruiz
TextDescription
public TextDescription(String value)
- Creates a new
TextDescription
.
- Parameters:
value
- the value of this description.
- Throws:
NullPointerException
- if the given value is null
.
value
public final String value()
- Returns the value of this description.
- Specified by:
value
in class Description
- Returns:
- the value of this description.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.