Fix failing anonymous mock expectations