public function testPipelineEstimatorSetter() { $pipeline = new Pipeline([new TfIdfTransformer()], new SVC()); $estimator = new SVR(); $pipeline->setEstimator($estimator); $this->assertEquals($estimator, $pipeline->getEstimator()); }