@Test
public void mergeChildOptions_StackRelatedOptionsAreCleared() {

    uut.ensureViewIsCreated();
    ParentController parentController = Mockito.mock(ParentController.class);
    uut.setParentController(parentController);
    Options options = new Options();
    options.animations.push = NestedAnimationsOptions.parse(new JSONObject());
    options.topBar.testId = new Text("id");
    options.fabOptions.id = new Text("fabId");
    Component component = mock(Component.class);
    ViewController vc = mock(ViewController.class);
    assertThat(options.fabOptions.hasValue()).isTrue();
    uut.mergeChildOptions(options, vc, component);
    ArgumentCaptor<Options> captor = ArgumentCaptor.forClass(Options.class);
    verify(parentController, times(1)).mergeChildOptions(captor.capture(), eq(vc), eq(component));
    assertThat(captor.getValue().animations.push.hasValue()).isFalse();
    assertThat(captor.getValue().topBar.testId.hasValue()).isFalse();
    assertThat(captor.getValue().fabOptions.hasValue()).isFalse();
}