ヤミRoot VoidGate
User / IP
:
216.73.216.33
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
api
/
vendor
/
doctrine
/
cache
/
tests
/
Doctrine
/
Tests
/
Common
/
Cache
/
Viewing: VoidCacheTest.php
<?php namespace Doctrine\Tests\Common\Cache; use Doctrine\Common\Cache\VoidCache; /** * @covers \Doctrine\Common\Cache\VoidCache */ class VoidCacheTest extends \PHPUnit_Framework_TestCase { public function testShouldAlwaysReturnFalseOnContains() { $cache = new VoidCache(); $this->assertFalse($cache->contains('foo')); $this->assertFalse($cache->contains('bar')); } public function testShouldAlwaysReturnFalseOnFetch() { $cache = new VoidCache(); $this->assertFalse($cache->fetch('foo')); $this->assertFalse($cache->fetch('bar')); } public function testShouldAlwaysReturnTrueOnSaveButNotStoreAnything() { $cache = new VoidCache(); $this->assertTrue($cache->save('foo', 'fooVal')); $this->assertFalse($cache->contains('foo')); $this->assertFalse($cache->fetch('foo')); } public function testShouldAlwaysReturnTrueOnDelete() { $cache = new VoidCache(); $this->assertTrue($cache->delete('foo')); } public function testShouldAlwaysReturnNullOnGetStatus() { $cache = new VoidCache(); $this->assertNull($cache->getStats()); } public function testShouldAlwaysReturnTrueOnFlush() { $cache = new VoidCache(); $this->assertTrue($cache->flushAll()); } }
Coded With 💗 by
0x6ick