public function it_should_allow_multiple_santas_and_multiple_directions(Santa $santa, Santa $roboSanta) { $this->beConstructedWith([$santa, $roboSanta]); $santa->moveWest()->shouldBeCalled(); $santa->moveEast()->shouldBeCalled(); $roboSanta->moveNorth()->shouldBeCalled(); $roboSanta->moveSouth()->shouldBeCalled(); $this->readDirections('<^>v'); }
public function it_can_translate_v_as_go_south(Santa $santa) { $santa->moveSouth()->shouldBeCalled(); $this->parse("v"); }