public function testConstructor() { $this->assertInstanceOf('Pop\\Mail\\Queue', new Queue('[email protected]', 'Some One')); $this->assertInstanceOf('Pop\\Mail\\Queue', new Queue(array('email' => '[email protected]', 'name' => 'Some One'))); }