public function testBytes()
 {
     list($handler, $repo, $auth, $keygen) = $this->getMocks();
     $instance = new Storage($handler, $repo, $auth, $keygen);
     $repo->shouldReceive('sum')->twice()->andReturn(15116107);
     $bytes = $instance->bytes([], false);
     $this->assertEquals(15116107, $bytes);
     $bytes = $instance->bytes();
     $this->assertEquals(15116107, $bytes);
 }