@Test
public void onChildViewAdded_delegatesToYellowBoxDelegate() {

    View child = new View(activity);
    ViewGroup view = new FrameLayout(activity);
    ViewController vc = new ViewController(activity, "", yellowBoxDelegate, new Options()) {
        @Override
        protected ViewGroup createView() {
            return view;
        }
        @Override
        public void sendOnNavigationButtonPressed(String buttonId) {
        }
    };
    vc.onChildViewAdded(view, child);
    verify(yellowBoxDelegate).onChildViewAdded(view, child);
}