/** * @test */ public function givenAnEmptyGridWhenPlacingAShipThenANewGridShouldBeReturnedAkaGridsAreImmutable() { $this->assertNotSame($this->grid, $this->grid->placeShip(new Submarine(), new Hole('A', 1), Position::fromHorizontal())); }