//Testing movement and some methods of ship
spaceShip.moveIndividual(spaceShip.getPositionX() + 10, spaceShip.getPositionY());
Assert.assertTrue(spaceShip.getPositionX() == 280);
spaceShip.moveIndividual(spaceShip.getPositionX() - 260, spaceShip.getPositionY());
Assert.assertTrue(model.getShip().getPositionX() == 20);
spaceShip.moveIndividual(spaceShip.getPositionX() - 10, spaceShip.getPositionY());
Assert.assertTrue(spaceShip.getPositionX() == 20); //reached minimum left movement, the ship position doesn't change
spaceShip.moveIndividual(spaceShip.getPositionX() + 520, spaceShip.getPositionY());
Assert.assertTrue(spaceShip.getPositionX() == 540);
spaceShip.moveIndividual(spaceShip.getPositionX() + 10, spaceShip.getPositionY());
Assert.assertTrue(spaceShip.getPositionX() == 540); // reached maximum right movement, the ship position doesn't change