public class WallPanelTest extends TestCase {
public void testHomePieceOfFurniturePanel() throws NoSuchFieldException, IllegalAccessException {
// 1. Create default preferences for a user that uses centimeter
Locale.setDefault(Locale.FRANCE);
UserPreferences preferences = new DefaultUserPreferences();
ViewFactory viewFactory = new SwingViewFactory();
// Create a home and add a selected wall to it
Home home = new Home();
Wall wall1 = new Wall(0.1f, 0.2f, 100.1f, 100.2f, 7.5f);
home.addWall(wall1);
wall1.setLeftSideColor(10);