Open Journal Systems
3.3.0
NullCacheAdapterTest.php
1
<?php
2
3
namespace
Guzzle\Tests\Common\Cache
;
4
5
use
Guzzle\Cache\NullCacheAdapter
;
6
10
class
NullCacheAdapterTest
extends
\Guzzle\Tests\GuzzleTestCase
11
{
12
public
function
testNullCacheAdapter
()
13
{
14
$c =
new
NullCacheAdapter
();
15
$this->assertEquals(
false
, $c->contains(
'foo'
));
16
$this->assertEquals(
true
, $c->delete(
'foo'
));
17
$this->assertEquals(
false
, $c->fetch(
'foo'
));
18
$this->assertEquals(
true
, $c->save(
'foo'
,
'bar'
));
19
}
20
}
Guzzle\Tests\Common\Cache
Definition:
NullCacheAdapterTest.php:3
Guzzle\Tests\GuzzleTestCase
Definition:
GuzzleTestCase.php:22
Guzzle\Tests\Common\Cache\NullCacheAdapterTest
Definition:
NullCacheAdapterTest.php:10
Guzzle\Cache\NullCacheAdapter
Definition:
NullCacheAdapter.php:8
Guzzle\Tests\Common\Cache\NullCacheAdapterTest\testNullCacheAdapter
testNullCacheAdapter()
Definition:
NullCacheAdapterTest.php:12
plugins
paymethod
paypal
lib
vendor
guzzle
guzzle
tests
Guzzle
Tests
Cache
NullCacheAdapterTest.php
Generated on Fri Aug 28 2020 14:52:54 for Open Journal Systems by
1.8.17