@Test
public void testOnRestoreInstanceState() throws Exception {

  Bundle bundle = mock(Bundle.class);
  layout.onRestoreInstanceState(bundle);
  verify(bundle).getParcelable(TestLayout.PARENT_STATE_KEY);
  verify(presenter).onCreate(bundle);
}