@Test public void onDestroy_shouldDestroyWebView() throws Exception { subject.onDestroy(); verify(mockWebView).destroy(); }
@Override protected void onDestroy() { super.onDestroy(); mWebView.destroy(); mWebView = null; }
MoPubBrowser extends Activity { @Override protected void onDestroy() { super.onDestroy(); mWebView.destroy(); mWebView = null; } }
MoPubBrowser extends Activity { @Override protected void onDestroy() { super.onDestroy(); mWebView.destroy(); mWebView = null; }  }
MoPubBrowser extends Activity { @Override protected void onDestroy() { super.onDestroy(); mWebView.destroy(); mWebView = null; }  static void open(final Context context, final String url); @Override void onCreate(Bundle savedInstanceState); @Override void finish(); }
MoPubBrowser extends Activity { @Override protected void onDestroy() { super.onDestroy(); mWebView.destroy(); mWebView = null; }  static void open(final Context context, final String url); @Override void onCreate(Bundle savedInstanceState); @Override void finish(); static final String DESTINATION_URL_KEY; }