assertTrue( in_array( '__construct', $methods ), 'seems like this function is outside this class' ); } } /** * @covers ObjectCellection::add * @todo Implement testadd(). */ public function testadd() { if (class_exists('ObjectCellection')) { $methods = get_class_methods( 'ObjectCellection'); $this->assertTrue( in_array( 'add', $methods ), 'seems like this function is outside this class' ); } } /** * @covers ObjectCellection::get * @todo Implement testget(). */ public function testget() { if (class_exists('ObjectCellection')) { $methods = get_class_methods( 'ObjectCellection'); $this->assertTrue( in_array( 'get', $methods ), 'seems like this function is outside this class' ); } } }