public function create($types = array()) { return new MockBuilder($types, $this->mockFactory, $this->handleFactory, $this->invocableInspector, $this->featureDetector); }