PopTest\Mail\QueueTest::testToString PHP Метод

testToString() публичный Метод

public testToString ( )
    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);
    }