text: /**
   * Testing our ModalBody component
   */
  import { mount } from 'enzyme';
  import React from 'react';
  import BootstrapProvider from '@bootstrap-styled/provider/lib/BootstrapProvider';
  import ModalBody from '../ModalBody';
  
  const children = <p>Test</p>;
  
  const renderComponent = (props = {}) => mount(
    <ModalBody {...props} />
  );
  
  const renderComponentUsingTheme = (props = {}) => mount(
    <BootstrapProvider>
      <ModalBody {...props} />
    </BootstrapProvider>
  );
  
  describe('<ModalBody />', () => {
    it('should render an <ModalBody> tag without a theme', () => {
      const renderedComponent = renderComponent({
        children,
      });
      expect(renderedComponent.find('div').length).toBe(1);
    });
    it('should have children without a theme', () => {
      const renderedComponent = renderComponent({
        children,
      });
      expect(renderedComponent.contains(children)).toEqual(true);
    });
    it('should render a <ModalBody> tag with a theme', () => {
      const renderedComponent = renderComponentUsingTheme({
        children,
      });
      expect(renderedComponent.find('ModalBody').length).toBe(1);
    });
    it('should have children with a theme', () => {
      const renderedComponent = renderComponentUsingTheme({
        children,
      });
      expect(renderedComponent.contains(children)).toEqual(true);
    });
  });
  