public function testExpectOutputRegexFooActualBar() { $this ->expectOutputRegex('/foo/'); print 'bar'; }