This assertion is a bit strange...The GridGenerator never actually makes sure there's at least one wall (though probabilistically, it's not likely).