someNotice = new mb_notice("unit test"); } public function tearDown () { unset($this->someNotice); } /** * Notice was created */ public function testNoticeCreated() { //TODO: check if logfile is really created $this->assertNotNull($this->someNotice); } /** * Notice was Successful */ public function testNoticeSuccessful() { $this->assertEquals("Successful.", $this->someNotice->message); } } ?>