Mock return value for detach