/** * Tests readinging too little in getMicrotime(). * * @expectedException bandwidthThrottle\tokenBucket\storage\StorageException */ public function testGetMicrotimeReadsToLittle() { $data = new vfsStreamFile("data"); $data->setContent("1234567"); vfsStream::setup('test')->addChild($data); $storage = new FileStorage(vfsStream::url("test/data")); $storage->getMicrotime(); }