public function getControl() { return $this->control; }
public function test_that_a_control_callback_can_be_defined() { $e = new Experiment('test experiment'); $control = function () { return true; }; $e->control($control); $this->assertSame($control, $e->getControl()); }