public static function setUpBeforeClass()
 {
     self::$client = new Client();
     $getFileStream = Stream::factory(JsonLoader::getLibraryFileJson());
     $getFilesStream = Stream::factory(JsonLoader::getLibraryFilesJson());
     $getFolderStream = Stream::factory(JsonLoader::getLibraryFolderJson());
     $getFoldersStream = Stream::factory(JsonLoader::getLibraryFoldersJson());
     $getFileUploadStream = Stream::factory(JsonLoader::getFileUploadStatusJson());
     $mock = new Mock([new Response(200, array(), $getFileStream), new Response(200, array(), $getFilesStream), new Response(200, array(), $getFolderStream), new Response(200, array(), $getFoldersStream), new Response(201, array("Id" => 1)), new Response(200, array(), $getFileUploadStream)]);
     self::$client->getEmitter()->attach($mock);
 }