// 5. Test sort and filter internal buffer of the table
furnitureController.sortFurniture(HomePieceOfFurniture.SortableProperty.NAME);
// Check the alphabetical order of table data
assertFurnitureIsSortedByName(table, true);
// Add a door or window and an other kind of piece to home
home.addPieceOfFurniture(new HomePieceOfFurniture(doorOrWindowPiece));
home.addPieceOfFurniture(new HomePieceOfFurniture(otherPiece));
// Check one row was added in sorted table
assertEquals("Wrong furniture count in home", homeFurnitureCount + 4, home.getFurniture().size());
assertEquals("Wrong row count in table", tableFilterRowCount + 2, table.getRowCount());
assertFurnitureIsSortedByName(table, true);