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