package testcase.twitter; import testcase.TestCase; abstract public class TestTwitter extends TestCase { protected OAuthHeader oauth = new OAuthHeader(); protected TestTwitter() { super("https://api.twitter.com/1.1"); } public OAuthHeader getOauth() { return oauth; } public void setOauth(OAuthHeader oauth) { this.oauth = oauth; } public void start() { check.setProperty("Authorization", oauth.getAuthorization()); check.doRestTest(); } }