public function testToString() { $i = new Info("<<3 0 obj\n<</Creator(Pop PDF)/CreationDate(10/10/10)/ModDate(10/11/10)/Author(Author)/Title(Title)/Subject(Subject)/Producer(Pop PDF)>>\nendobj\n>>"); $this->assertContains('/Creator', (string) $i); }