final OldBuilding building = new OldBuilding("building1");
final Building building = new Building("building1");
    public void testFloorInformationConstructor() {        try {            new FloorInformation((Floor) null);            fail("Expected a NullPointerException: floor information must be relative to a floor.");        } catch (NullPointerException ex) {            assertEquals("error.floor.cannot.be.null", ex.getMessage());        }        final OldBuilding building = new OldBuilding("building1");        final Floor floor = new Floor(building);        final FloorInformation floorInformation = (FloorInformation) floor.getSpaceInformation();        assertSame(floor, floorInformation.getSpace());        final FloorInformation newFloorInformation = new FloorInformation(floor);        assertSame(floor, newFloorInformation.getSpace());        assertSame(floor, floorInformation.getSpace());        assertEquals(new YearMonthDay(), floorInformation.getValidUntil());        assertNull(newFloorInformation.getValidUntil());    }