Пример #1
0
 /**
  * @return ComputerStrategy
  */
 private function createComputerStrategy()
 {
     return $this->playerStrategyFactory->createComputerStrategy();
 }
 public function test_it_returns_new_computer_strategy()
 {
     $result = $this->factory->createComputerStrategy();
     $this->assertInstanceOf(ComputerStrategy::class, $result);
 }