expect([object optionalMethodWithObject:@"foo" flag:YES]).to.equal(0)