package testcase.twitter; import testcase.TestCase; abstract public class TestTwitter extends TestCase { private String value = "OAuth oauth_consumer_key=\"xPk6o11catewYwxGcXvvvqo2I\",oauth_token=\"3279293718-bTcjYBEU1dqTdD2mm40J8IV7UrGcPHneHFLzomD\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1547012412\",oauth_nonce=\"kv64T7\",oauth_version=\"1.0\",oauth_signature=\"2xcicANqvUKcshB0ahoz48LX234%3D\""; protected TestTwitter() { super("https://api.twitter.com/1.1"); } public void start() { check.setProperty("Authorization",value); check.doRestTest(); } }