Exemplo n.º 1
0
 public function testPlaceArmies()
 {
     $move = new \Mastercoding\Conquest\Move\PlaceArmies();
     $move->setPlayerName('test');
     $move->addPlaceArmies(1, 5);
     $move->addPlaceArmies(3, 2);
     // output
     $this->assertEquals('test place_armies 1 5,test place_armies 3 2', $move->toString());
 }