Expose Output on AssertableOutput
Closes gh-16
This commit is contained in:
@@ -24,11 +24,16 @@ import org.springframework.cr.smoketest.support.Output;
|
||||
* An {@link AssertProvider} for {@link OutputAssert}.
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
* @author Sebastien Deleuze
|
||||
*/
|
||||
public class AssertableOutput implements AssertProvider<OutputAssert> {
|
||||
|
||||
private final Output output = Output.current();
|
||||
|
||||
public Output getOutput() {
|
||||
return this.output;
|
||||
}
|
||||
|
||||
@Override
|
||||
public OutputAssert assertThat() {
|
||||
return new OutputAssert(this.output);
|
||||
|
||||
Reference in New Issue
Block a user