TwitterAuthConfig implements Parcelable { public int getRequestCode() { return DEFAULT_AUTH_REQUEST_CODE; } TwitterAuthConfig(String consumerKey, String consumerSecret); private  TwitterAuthConfig(Parcel in); String getConsumerKey(); String getConsumerSecret(); int getRequestCode(); @Override int describeContents(); @Override void writeToParcel(Parcel out, int flags); static final int DEFAULT_AUTH_REQUEST_CODE; static final Parcelable.Creator<TwitterAuthConfig> CREATOR; }
@Test public void testGetRequestCode() { assertEquals(TwitterAuthConfig.DEFAULT_AUTH_REQUEST_CODE, authConfig.getRequestCode()); }