### Question:
Transition { Transition (State source, State target) { mSource = source; mTarget = target; mCondition = ""; mAction = ""; mWeight = -1; } Transition(State source, State target);   }### Answer:
@Test public void testTransition () { State source = new State ("source", null); State target = new State ("target", null); Transition transition = new Transition (source, target); assertEquals (source, transition.mSource); assertEquals (target, transition.mTarget); assertEquals ("", transition.mCondition); assertEquals ("", transition.mAction); assertEquals (-1, transition.mWeight); }