| Interface | Description |
|---|---|
| ArgumentFormatter<T> |
Interface for defining customer argument formatters.
|
| Class | Description |
|---|---|
| BooleanFormatter |
General formatter to format boolean values
|
| DefaultFormatter<T> |
A default formatter that merely use
String.valueOf(Object),
except for arrays where Arrays.deepToString(Object[]) is used. |
| NotFormatter |
Translates
false to the word "not" and true to the empty word ""
true: ""
false: "not"
Example:
then().the_coffee_should_$$not_be_served( coffeeServed )
Result:
coffeeServed == false
then the coffee should not be served
coffeeServed == true
then the coffee should be served
|
| PrintfFormatter |
Formatter to use a Java format string to format arguments
|
Copyright © 2014 TNG Technology Consulting. All rights reserved.