expect to return a card from java when hit