public class NotFormatter extends BooleanFormatter
false to the word "not" and true to the empty word ""
true: "" false: "not"
then().the_coffee_should_$$not_be_served( coffeeServed )
then the coffee should not be served
then the coffee should be served
| Constructor and Description |
|---|
NotFormatter() |
public String format(Boolean b, String... args)
ArgumentFormatterformat in interface ArgumentFormatter<Boolean>format in class BooleanFormatterb - the object to formatargs - optional arguments for the formatter to control the formatting.Copyright © 2014 TNG Technology Consulting. All rights reserved.