// Given
initParameters("yobi", "HelloSocialApp", 1L);
User currentUser = User.findByLoginId("admin");
Project project = Project.findByOwnerAndProjectName(ownerLoginId, projectName);
PullRequest pullRequest = PullRequest.findOne(project, pullRequestNumber);
PushedBranch pushedBranch = new PushedBranch(new Date(), pullRequest.fromBranch,
pullRequest.fromProject);
pushedBranch.save();
// When
Result result = callAction(
controllers.routes.ref.PullRequestApp.open(ownerLoginId, projectName, pullRequestNumber),
fakeRequest("GET", "/" + ownerLoginId + "/" + projectName + "/pullRequest/" + pullRequestNumber)