| Package | Description |
|---|---|
| com.tngtech.jgiven.format |
| Modifier and Type | Class and Description |
|---|---|
class |
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
|
Copyright © 2014 TNG Technology Consulting. All rights reserved.