assertFalse(file_exists('../temp/test.log'), 'No file created before first message'); $log = new Log('/tmp/test.log'); $log->message('Should write this to a file'); $this->assertTrue(file_exists('/tmp/test.log')); } } $test = &new TestOfLogging(); $test->run(new HtmlReporter()); ?>