Closed vania-pooh closed 9 years ago
@smecsia I would say the problem is located somewhere in https://github.com/camelot-framework/yatomata/blob/master/src/main/java/ru/yandex/qatools/fsm/impl/BestMatchedAnnotatedMethodCaller.java#L76-L90
@smecsia thanks a lot. :)
Consider the following test app:
According to docs if @OnTransit method has one argument then respective event should be injected. However right now next state instance is injected. So I expect that this code prints "I am event" but I'm getting "I am state".