NimbleActivity extends Activity implements NimbleView { @Override @CallSuper protected void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); initialize(); presenter().takeView(getNimbleView()); presenter().onCreate(savedInstanceState); }    }
@Test public void testOnCreate() throws Exception { activity.onCreate(bundle); verify(presenter).takeView(Mockito.any(NimbleView.class)); verify(presenter).onCreate(bundle); }