use of com.restfb.Parameter in project data-transfer-project by google.
the class FacebookVideosImporterTest method testImportSingleVideo.
@Test
public void testImportSingleVideo() {
importer.importSingleVideo(client, new VideoModel("title", VIDEO_URL, VIDEO_DESCRIPTION, "video/mp4", "videoId", null, false));
Parameter[] params = { Parameter.with("file_url", VIDEO_URL), Parameter.with("description", VIDEO_DESCRIPTION) };
verify(client).publish("me/videos", GraphResponse.class, params);
}
Aggregations