*/ namespace Desarrolla2\Test\Cache; use Desarrolla2\Cache\Cache; /** * CacheTest */ class CacheTest extends \PHPUnit_Framework_TestCase { /** * @var \Desarrolla2\Cache\Cache */ protected $cache; public function setUp() { $this->cache = new Cache(); } /** * @expectedException \Desarrolla2\Cache\Exception\AdapterNotSetException */ public function testGetAdapterThrowsException() { $this->cache->getAdapter(); } }