public function getAllMetadata()
    {
        // FIXXME Should this be implemented here or in the driver (chain)?
        $metadata = array();
        foreach ($this->driver->getAllClassNames() as $className) {
            $metadata[] = $this->getMetadataFor($className);
        }

        $this->validate($metadata);

        return $metadata;
    }