// Check home furniture isn't empty
assertTrue("Home furniture is empty", homeFurniture.size() > 0);
// 2. Create a table that displays home furniture with its controller
FurnitureController furnitureController =
new FurnitureController(home, preferences, new SwingViewFactory());
FurnitureTable table = (FurnitureTable)furnitureController.getView();
assertEquals("Home furniture count and row count different", homeFurniture.size(), table.getRowCount());
// Apply a filter on furniture that refuses pieces that are windows
table.setFurnitureFilter(new FurnitureFilter() {
public boolean include(Home home, HomePieceOfFurniture piece) {