public function testCanGetMethods() { $methods = array('getDefault', 'toArray', '__construct', '__toString', 'create', 'from', '__get', '__set', 'isEmpty', 'setSubject', 'obtain', 'extend', '__callStatic', '__call'); $this->assertEquals($methods, Object::methods(new DummyDefault())); }