mocking with a :yield supports yielding a falsy value (like false)