public function testMixinMethods() { $author = new Author(); $ret = $author->create(array('name' => 'testMixinMethods', 'email' => 'zz3@zz3', 'identity' => 'zz3')); $this->assertResultSuccess($ret); $age = $author->getAge(); $this->assertInstanceOf('DateInterval', $age); ok($age->format('%s seconds')); }