public void readFromTest() throws IOException {
ResponseDataProvider<Form> responseDataProvider = new ResponseDataProvider<>();
String str = "oauth_token=totototot&oauth_token_secret=tststststststs&usd=hashshsh";
InputStream is = new ByteArrayInputStream(str.getBytes());
Form form = responseDataProvider.readFrom(Form.class, null, null, null, null, is);
Assert.assertEquals("totototot", form.asMap().getFirst("oauth_token"));
Assert.assertEquals("tststststststs", form.asMap().getFirst("oauth_token_secret"));
}
public void isReadableTest() {
ResponseDataProvider<Form> responseDataProvider = new ResponseDataProvider<>();