text: import { BibliographicSectionContainer, mapStateToProps } from './BibliographicSectionContainer';
  import Immutable from 'immutable';
  
  function setup(testProps = {}, args = { isShallow: true }) {
      const props = {
          formValues: {
              toJS: jest.fn(() => ({})),
          },
          ...testProps,
      };
  
      return getElement(BibliographicSectionContainer, props, args);
  }
  
  describe('BibliographicSectionContainer component', () => {
      it('should render default view', () => {
          const wrapper = setup();
          expect(toJson(wrapper)).toMatchSnapshot();
      });
  
      it('should render disabled view', () => {
          const wrapper = setup({ disabled: true });
          expect(toJson(wrapper)).toMatchSnapshot();
      });
  
      it('should map state to props', () => {
          expect(mapStateToProps({}, {})).toEqual({
              formValues: Immutable.Map({}),
          });
      });
  });
  