| Constructor and Description |
|---|
Core() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Stage,E> |
attr(Func<T,String> attr)
Returns a function to access an attribute value in a test case.
|
<T extends Stage> |
quote(Func<T,?>... values) |
<T extends Stage,E> |
value(Func<T,String> entryName,
Func<T,?> target)
Returns a function to invoke a method of a specified name.
|
public <T extends Stage,E> Func.Accessor<T,E> attr(Func<T,String> attr)
GENERATION, GIVEN, WHEN, and THEN
stages.T - Type of stageE - Type of attribute value to be returned.attr - Attribute name whose value should be returnedpublic <T extends Stage,E> Func<T,E> value(Func<T,String> entryName, Func<T,?> target)
T - Type of stageE - Type of the function's value to be returned.entryName - A name of method to be invoked.@SafeVarargs public final <T extends Stage> Func<T,List<?>> quote(Func<T,?>... values)
Copyright © 2017. All rights reserved.