|
|
|
@ -18,7 +18,7 @@ package org.springframework.boot.test.system;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Provides access to {@link System#out System.out} and {@link System#err System.err}
|
|
|
|
|
* output that has been capture by the {@link OutputCaptureExtension}. Can be used to
|
|
|
|
|
* output that has been captured by the {@link OutputCaptureExtension}. Can be used to
|
|
|
|
|
* apply assertions either using AssertJ or standard JUnit assertions. For example:
|
|
|
|
|
* <pre class="code">
|
|
|
|
|
* assertThat(output).contains("started"); // Checks all output
|
|
|
|
|