11 $e = new \Exception(
'Baz!');
12 $t = $this->getMock(
'Guzzle\Batch\BatchTransferInterface');
13 $d = $this->getMock(
'Guzzle\Batch\BatchDivisorInterface');
15 $this->assertEquals(array(
'foo'), $transferException->getBatch());
16 $this->assertSame($t, $transferException->getTransferStrategy());
17 $this->assertSame($d, $transferException->getDivisorStrategy());
18 $this->assertSame($e, $transferException->getPrevious());
19 $this->assertEquals(array(1, 2), $transferException->getTransferredItems());