The machine should show "win" and give reward to me when three same patterns are aligned in the same row. However, when three "bar" are aligned in the middle row, the machine shows "lose" and did not return any reward.
Resolved. The method was missing a .getName() which made it comparing Object with String directly and produced the defect.
*** Bug 310 has been marked as a duplicate of this bug. ***