public final void testIsConditionFulfilled() {
Transition t = new Transition(someconst, Arrays.asList(ConversationParser.createTriggerExpression("trigger")), null, false, idle_0, null, null);
assertTrue(t.isConditionFulfilled(PlayerTestHelper.createPlayer("player"),
null, SpeakerNPCTestHelper.createSpeakerNPC()));
t = new Transition(someconst, Arrays.asList(ConversationParser.createTriggerExpression("trigger")),
new AlwaysTrueCondition(), false, idle_0, null, null);
assertTrue(t.isConditionFulfilled(PlayerTestHelper.createPlayer("player"),
null, SpeakerNPCTestHelper.createSpeakerNPC()));
t = new Transition(someconst, Arrays.asList(ConversationParser.createTriggerExpression("trigger")),
new NotCondition(new AlwaysTrueCondition()), false, idle_0, null, null);
assertFalse(t.isConditionFulfilled(PlayerTestHelper.createPlayer("player"),
null, SpeakerNPCTestHelper.createSpeakerNPC()));
}