18 $this->assertTrue($strategy->makesDecision());
19 $request = $this->getMock(
'Guzzle\Http\Message\Request', array(), array(),
'',
false);
21 $this->assertEquals(
false, $strategy->getBackoffPeriod(0, $request, $response));
22 $response->setStatus(200,
'Foo');
23 $this->assertEquals(0, $strategy->getBackoffPeriod(0, $request, $response));
29 $request = $this->getMock(
'Guzzle\Http\Message\Request', array(), array(),
'',
false);
30 $this->assertEquals(
false, $strategy->getBackoffPeriod(0, $request));