@Test
public void testOnCreateView() throws Exception {

  LayoutInflater layoutInflater = mock(LayoutInflater.class);
  ViewGroup viewGroup = mock(ViewGroup.class);
  fragment.onCreateView(layoutInflater, viewGroup, bundle);
  verify(layoutInflater).inflate(fragment.layoutId(), viewGroup, false);
  verify(presenter).takeView(fragment);
  verify(presenter).onCreate(bundle);
}