'Check base learner after disconnecting learner on the input'

def test_input_learner_disconnect(self):

    self.send_signal(self.widget.Inputs.learner, RandomForestLearner())
    self.assertIsInstance(self.widget.base_estimator, RandomForestLearner)
    self.send_signal(self.widget.Inputs.learner, None)
    self.assertEqual(self.widget.base_estimator, self.widget.DEFAULT_BASE_ESTIMATOR)
