public function testMake() { $registry = new Registry(); $registry->register($this->strategy_name, $this->strategy); $strategy = $registry->make($this->strategy_name); $this->assertEquals($this->strategy, get_class($strategy)); }
public function testMake() { $registry = new Registry(); $registry->register($this->strategy_name, $this->strategy); $strategy = $registry->make($this->strategy_name); $this->assertEquals($this->strategy, get_class($strategy)); }