wall1.getThickness(), home.getWallHeight(), wall1.getHeightAtEnd(),
wall1.getLeftSideColor(), wall1.getLeftSideTexture(),
null, wall1.getRightSideTexture(), wallController);
// 4. Increase length in dialog
DialogView wallView = wallController.getView();
JSpinner distanceToEndPointSpinner =
(JSpinner)TestUtilities.getField(wallView, "distanceToEndPointSpinner");
distanceToEndPointSpinner.setValue((Float)distanceToEndPointSpinner.getValue() + 20f);
// Check wall end coordinates changed accordingly
assertTrue("Wrong X end", Math.abs(wall1.getXEnd() + 20f * (float)Math.cos(Math.PI / 4) - wallController.getXEnd()) < 1E-5);