content: import React from 'react';
  import { shallow } from 'enzyme';
  import ConfirmationDialog from './ConfirmationDialog';
  
  describe('ConfirmationDialog', () => {
    const shallowRender = props => shallow(
      <ConfirmationDialog {...props} />,
    );
  
    it('renders to match snapshot', () => {
      const render = shallowRender({
        onSubmit: jest.fn().mockName('onSubmit'),
        title: 'Dialog title',
        body: 'Dialog body',
        onCancel: jest.fn().mockName('onCancel'),
      });
  
      expect(render).toMatchSnapshot();
    });
  });
  