How To Implement This Cocos2d-x Test / Box2d?

Anyone know how to implement this Cocos2d-x example?