source: class SideMenuControllerTest extends ParentController<DrawerLayout> {
  
      private SideMenuController uut;
      private Activity activity;
      private ChildControllersRegistry childRegistry;
      private SideMenuPresenter presenter;
      private SimpleComponentViewController left;
      private SimpleComponentViewController right;
      private SimpleComponentViewController center;
  
      @Test
      public void setRightController_setHeightAndWidthWithOptions() {
  
target:         SideMenuOptions options = new SideMenuOptions();
          options.height = new Number(100);
          options.width = new Number(200);
          uut.options.sideMenuRootOptions.left = options;
  
          SimpleComponentViewController componentViewController = new SimpleComponentViewController(activity, childRegistry, "left", new Options());
          uut.setLeftController(componentViewController);
  
          int heightInDp = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 100, Resources.getSystem().getDisplayMetrics());
          int widthInDp = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 200, Resources.getSystem().getDisplayMetrics());
  
          LayoutParams params = componentViewController.getView().getLayoutParams();
          assertThat(params.width).isEqualTo(widthInDp);
          assertThat(params.height).isEqualTo(heightInDp);
      }
  
  }