countByMime() public method

mime 별 파일 갯수 반환
public countByMime ( callable $scope = null ) : array
$scope callable 검색 조건
return array ex.) [mime => count]
 public function testCountByMime()
 {
     list($handler, $repo, $auth, $keygen) = $this->getMocks();
     $instance = new Storage($handler, $repo, $auth, $keygen);
     $repo->shouldReceive('countGroupBy')->andReturn(10);
     $this->assertEquals(10, $instance->countByMime());
 }