public class TextMethodTester<T> extends Object
| Constructor and Description |
|---|
TextMethodTester(String input,
java.util.function.Function<T,Object> componentFunction,
Class<T> outputClass,
String output) |
| Modifier and Type | Method and Description |
|---|---|
String |
actual() |
java.util.function.Function<String,String> |
afterRun() |
TextMethodTester |
afterRun(java.util.function.Function<String,String> afterRun) |
java.util.function.BiConsumer<MethodReader,T> |
exceptionHandlerSetup() |
TextMethodTester |
exceptionHandlerSetup(java.util.function.BiConsumer<MethodReader,T> exceptionHandlerSetup) |
String |
expected() |
String[] |
retainLast() |
TextMethodTester |
retainLast(String... retainLast) |
TextMethodTester |
run() |
String |
setup() |
TextMethodTester |
setup(String setup) |
public String[] retainLast()
@NotNull public TextMethodTester retainLast(String... retainLast)
public String setup()
@NotNull public TextMethodTester setup(String setup)
public java.util.function.Function<String,String> afterRun()
@NotNull public TextMethodTester afterRun(java.util.function.Function<String,String> afterRun)
public java.util.function.BiConsumer<MethodReader,T> exceptionHandlerSetup()
public TextMethodTester exceptionHandlerSetup(java.util.function.BiConsumer<MethodReader,T> exceptionHandlerSetup)
@NotNull public TextMethodTester run() throws IOException
IOExceptionpublic String expected()
public String actual()
Copyright © 2017. All rights reserved.