assertNoPreviousOutput()
assertNoPreviousOutput()
Checks to see if content has previously been sent.
If either headers have been sent or the output buffer contains content, raises an exception.
Throws
- \RuntimeException
if headers have already been sent.
- \RuntimeException
if output is present in the output buffer.