bandwidthThrottle\tokenBucket\storage\StorageTest::testRemove PHP Метод

testRemove() публичный Метод

Tests remove().
public testRemove ( callable $storageFactory )
$storageFactory callable Returns a storage.
    public function testRemove(callable $storageFactory)
    {
        $this->storage = call_user_func($storageFactory);
        $this->storage->bootstrap(123);
        $this->storage->remove();
        $this->assertFalse($this->storage->isBootstrapped());
    }