import WsDropdownSelectController from './ws-dropdown-select.controller';

describe('wsDropdownSelectComponent', () => {
  let ctrl;

  beforeEach(() => {
    ctrl = new WsDropdownSelectController();
  });

  it('toggleMenuOpenness works correctly', () => {
    ctrl.toggleMenuOpenness();
    expect(ctrl.isOpen).toBe(true);
  });

  it('closeMenu works correctly', () => {
    ctrl.closeMenu();
    expect(ctrl.isOpen).toBe(false);
  });
});
