@Test
public void loadNativeAd_withInvalidResponseBody_shouldNotifyListenerOfOnNativeAdFailed() throws Exception {

    serverExtras.put(CustomEventNativeAdapter.RESPONSE_BODY_KEY, "{ \"bad json");
    subject.loadNativeAd(context, mCustomEventNativeListener, localExtras, serverExtras);
    verify(mCustomEventNativeListener, never()).onNativeAdLoaded(any(MoPubCustomEventNative.MoPubForwardingNativeAd.class));
    verify(mCustomEventNativeListener).onNativeAdFailed(NativeErrorCode.INVALID_JSON);
}