MoPub Exchange Connector simple working example along with test runner. It is using almost the same concept as of OpenRTB Exchange Connector.