final OldBuilding building = new OldBuilding("building1");
final Building building = new Building("building1");
    public void testFloorConstructor() {        final OldBuilding building = new OldBuilding("building1");        try {            new Floor((Space) null);            fail("Floor cannot be created without a surrounding space.");        } catch (NullPointerException ex) {            assertEquals("error.surrounding.space", ex.getMessage());        }        final Floor floor = new Floor(building);        assertEquals(1, floor.getSpaceInformationsCount());        final SpaceInformation spaceInformation = floor.getSpaceInformation();        assertSame(FloorInformation.class, spaceInformation.getClass());        assertSame(building, floor.getSuroundingSpace());    }