### Question:
TransactionStatusEvent { public State getState() { return state; } TransactionStatusEvent(int session, State state, long id, String info, Serializable context); String toString(); int getSession(); long getId(); String getInfo(); State getState(); String getStateAsString(); Serializable getContext();  }### Answer:
@Test public void testGetState() { assertThat(transactionStatusEvent.getState(), is(State.ABORTING)); }