.replaceFirst("\\{appFolderUrl\\}", "dropbox")
.replaceFirst("\\{path\\}", "file3.json")))
.andExpect(method(GET))
.andRespond(withResponse(jsonResource("/media"), responseHeaders));
FileUrl url = dropbox.getMedia("file3.json");
assertEquals("https://dl.dropbox.com/0/view/6rcp09bdfz1kxfv/file3.json", url.getUrl());
assertEquals(fromDropboxDate("Sun, 15 Jan 2012 15:24:47 +0000"), url.getExpires());
}