Test for RuntimeException in AnnotationExporter::exportClassMetadata()