@Test public void testShouldForkResult() { ShouldForkResult shouldForkResult = shouldForkResult(); assertTrue(shouldForkResult.isForkable()); assertEquals(shouldForkResult.getReason(), NO_REASON); }
private ShouldForkResult(boolean shouldFork, String reason) { this.shouldFork = shouldFork; this.reason = reason; }
ShouldForkResult { private ShouldForkResult(boolean shouldFork, String reason) { this.shouldFork = shouldFork; this.reason = reason; } }
ShouldForkResult { private ShouldForkResult(boolean shouldFork, String reason) { this.shouldFork = shouldFork; this.reason = reason; } private  ShouldForkResult(boolean shouldFork, String reason); }
ShouldForkResult { private ShouldForkResult(boolean shouldFork, String reason) { this.shouldFork = shouldFork; this.reason = reason; } private  ShouldForkResult(boolean shouldFork, String reason); static ShouldForkResult shouldForkResult(); static ShouldForkResult shouldNotForkResult(String reason); ShouldForkResult and(ShouldForkResult otherShouldForkResult); boolean isForkable(); String getReason(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
ShouldForkResult { private ShouldForkResult(boolean shouldFork, String reason) { this.shouldFork = shouldFork; this.reason = reason; } private  ShouldForkResult(boolean shouldFork, String reason); static ShouldForkResult shouldForkResult(); static ShouldForkResult shouldNotForkResult(String reason); ShouldForkResult and(ShouldForkResult otherShouldForkResult); boolean isForkable(); String getReason(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String NO_REASON; }