def METHOD_NAME(self):
    metadata = ExtractedMetadata(summary="summary", description="description")
    self.assertThat(
        metadata.to_dict(),
        Equals({"summary": "summary", "description": "description"}),
    )