@Test public void testGetDefaultTitleIfNull() { PullRequestInfo pullRequestInfo = new PullRequestInfo(null, IMAGE, TAG); assertEquals(pullRequestInfo.getTitle(), DEFAULT_TITLE); }
public String getTitle() { return title; }
PullRequestInfo { public String getTitle() { return title; } }
PullRequestInfo { public String getTitle() { return title; } PullRequestInfo(String title, String image, String tag); }
PullRequestInfo { public String getTitle() { return title; } PullRequestInfo(String title, String image, String tag); String getTitle(); String getBody(); }
PullRequestInfo { public String getTitle() { return title; } PullRequestInfo(String title, String image, String tag); String getTitle(); String getBody(); static final String BODY_TEMPLATE; static final String DEFAULT_TITLE; static final String OLD_CONSTANT_BODY; }