public function testToString() { $q = new Queue('[email protected]', 'Some One'); $q->add('[email protected]', 'Someone Else'); $this->assertEquals('Some One <[email protected]>, Someone Else <[email protected]>', (string) $q); }