Package com.tngtech.jgiven.format
Class BooleanFormatter
java.lang.Object
com.tngtech.jgiven.format.BooleanFormatter
- All Implemented Interfaces:
ArgumentFormatter<Boolean>
- Direct Known Subclasses:
NotFormatter
General formatter to format boolean values.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BooleanFormatter
public BooleanFormatter()
-
-
Method Details
-
format
Description copied from interface:ArgumentFormatter
Format a single argument by taking optional formatter arguments into account.- Specified by:
format
in interfaceArgumentFormatter<Boolean>
- Parameters:
b
- the object to formatargs
- optional arguments for the formatter to control the formatting.- Returns:
- a formatted string
-