### Question:
Outcome implements Serializable { public boolean equals( final Object obj ) { if( !( obj instanceof Outcome ) ) { return false; } return m_key.equals( ( ( Outcome )obj ).getMessageKey() ); } 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 testEquals() { Assertions.assertEquals( Outcome.DECISION_APPROVE, Outcome.DECISION_APPROVE ); Assertions.assertNotSame( Outcome.DECISION_APPROVE, Outcome.DECISION_REASSIGN ); }