Java tutorial
/** * Copyright (C) 2017 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.mediadriver.atlas.itests.v2; import twitter4j.*; import java.util.Date; public class MockStatus implements Status { private static final long serialVersionUID = 3370078709040594197L; private String text; private User user; @Override public int compareTo(Status o) { // TODO Auto-generated method stub return 0; } @Override public RateLimitStatus getRateLimitStatus() { // TODO Auto-generated method stub return null; } @Override public int getAccessLevel() { // TODO Auto-generated method stub return 0; } @Override public UserMentionEntity[] getUserMentionEntities() { // TODO Auto-generated method stub return null; } @Override public URLEntity[] getURLEntities() { // TODO Auto-generated method stub return null; } @Override public HashtagEntity[] getHashtagEntities() { // TODO Auto-generated method stub return null; } @Override public MediaEntity[] getMediaEntities() { // TODO Auto-generated method stub return null; } @Override public ExtendedMediaEntity[] getExtendedMediaEntities() { // TODO Auto-generated method stub return null; } @Override public SymbolEntity[] getSymbolEntities() { // TODO Auto-generated method stub return null; } @Override public Date getCreatedAt() { // TODO Auto-generated method stub return null; } @Override public long getId() { // TODO Auto-generated method stub return 0; } public void setText(String text) { this.text = text; } @Override public String getText() { return this.text; } @Override public String getSource() { // TODO Auto-generated method stub return null; } @Override public boolean isTruncated() { // TODO Auto-generated method stub return false; } @Override public long getInReplyToStatusId() { // TODO Auto-generated method stub return 0; } @Override public long getInReplyToUserId() { // TODO Auto-generated method stub return 0; } @Override public String getInReplyToScreenName() { // TODO Auto-generated method stub return null; } @Override public GeoLocation getGeoLocation() { // TODO Auto-generated method stub return null; } @Override public Place getPlace() { // TODO Auto-generated method stub return null; } @Override public boolean isFavorited() { // TODO Auto-generated method stub return false; } @Override public boolean isRetweeted() { // TODO Auto-generated method stub return false; } @Override public int getFavoriteCount() { // TODO Auto-generated method stub return 0; } public void setUser(User user) { this.user = user; } @Override public User getUser() { return this.user; } @Override public boolean isRetweet() { // TODO Auto-generated method stub return false; } @Override public Status getRetweetedStatus() { // TODO Auto-generated method stub return null; } @Override public long[] getContributors() { // TODO Auto-generated method stub return null; } @Override public int getRetweetCount() { // TODO Auto-generated method stub return 0; } @Override public boolean isRetweetedByMe() { // TODO Auto-generated method stub return false; } @Override public long getCurrentUserRetweetId() { // TODO Auto-generated method stub return 0; } @Override public boolean isPossiblySensitive() { // TODO Auto-generated method stub return false; } @Override public String getLang() { // TODO Auto-generated method stub return null; } @Override public Scopes getScopes() { // TODO Auto-generated method stub return null; } @Override public String[] getWithheldInCountries() { // TODO Auto-generated method stub return null; } @Override public long getQuotedStatusId() { // TODO Auto-generated method stub return 0; } @Override public Status getQuotedStatus() { // TODO Auto-generated method stub return null; } }