### Question:
Outcome implements Serializable { public boolean isCompletion() { return m_completion; } private  Outcome( final String key, final boolean completion ); boolean isCompletion(); String getMessageKey(); int hashCode(); boolean equals( final Object obj ); static Outcome forName( final String key ); String toString(); static final Outcome STEP_COMPLETE; static final Outcome STEP_ABORT; static final Outcome STEP_CONTINUE; static final Outcome DECISION_ACKNOWLEDGE; static final Outcome DECISION_APPROVE; static final Outcome DECISION_DENY; static final Outcome DECISION_HOLD; static final Outcome DECISION_REASSIGN; }### Answer:
@Test public void testIsCompletion() { Assertions.assertTrue(Outcome.DECISION_ACKNOWLEDGE.isCompletion()); Assertions.assertTrue(Outcome.DECISION_APPROVE.isCompletion()); Assertions.assertTrue(Outcome.DECISION_DENY.isCompletion()); Assertions.assertFalse(Outcome.DECISION_HOLD.isCompletion()); Assertions.assertFalse(Outcome.DECISION_REASSIGN.isCompletion()); Assertions.assertTrue(Outcome.STEP_ABORT.isCompletion()); Assertions.assertTrue(Outcome.STEP_COMPLETE.isCompletion()); Assertions.assertFalse(Outcome.STEP_CONTINUE.isCompletion()); }