| Constructor and Description |
|---|
Core() |
| Modifier and Type | Method and Description |
|---|---|
<E> Func<E> |
attr(Func<String> attr)
Returns a function to access an attribute value in a test case.
|
Func<Object> |
configAttr(Func<String> attrName) |
Func<Throwable> |
exception() |
Func<List<?>> |
quote(Func<?>... values) |
Func<Object> |
systemProperty(Func<String> attrName) |
Func<TestItem> |
testItem() |
<E> Func<E> |
value(Func<String> entryName,
Func<?> target)
Returns a function to invoke a method of a specified name.
|
public <E> Func<E> attr(Func<String> attr)
GENERATION, GIVEN, WHEN, and THEN
stages.E - Type of attribute value to be returned.attr - Attribute name whose value should be returnedpublic <E> Func<E> value(Func<String> entryName, Func<?> target)
E - Type of the function's value to be returned.entryName - A name of method to be invoked.target - A target from which value of entryName will be returned.Copyright © 2017. All rights reserved.