final OldBuilding building = new OldBuilding("Some name");
final Building building = new Building("Some name");
    public void testBuildingConstructor() {        try {            new OldBuilding((String) null);            fail("OldBuilding name cannot be null.");        } catch (NullPointerException ex) {            // all is ok        }        final OldBuilding building = new OldBuilding("Some name");        assertEquals(1, building.getSpaceInformationsCount());        final SpaceInformation spaceInformation = building.getSpaceInformation();        assertSame(BuildingInformation.class, spaceInformation.getClass());        final BuildingInformation buildingInformation = (BuildingInformation) spaceInformation;        assertEquals("Some name", buildingInformation.getName());    }