### Question:
DecisionQueue implements Serializable { protected Decision[] decisions() { return m_queue.toArray( new Decision[ m_queue.size() ] ); } DecisionQueue(); Collection<Decision> getActorDecisions( final Session session ); void decide( final Decision decision, final Outcome outcome, final Context context ); synchronized void reassign( final Decision decision, final Principal owner );  }### Answer:
@Test public void testDecisions() { final Decision[] decisions = m_queue.decisions(); Assertions.assertEquals(3, decisions.length); Assertions.assertEquals(d1, decisions[0]); Assertions.assertEquals(d2, decisions[1]); Assertions.assertEquals(d3, decisions[2]); }