 provided', () => {     let wrapper, onDismissCallback;      beforeEach(() => {       onDismissCallback = jest.fn();       wrapper = shallow(         <Message           theme={ classicTheme }           roundedCorners={ false }           variant='info'           onDismiss={ onDismissCallback }         >           Message         </Message>       );     });      describe('does not render', () => {       it('when onDismiss prop is not provided', () => {         wrapper.setProps({ onDismiss: null });         expect(wrapper.find(IconButton).exists()).toBeFalsy();       });        it('when showCloseIcon is false', () => {         wrapper.setProps({ showCloseIcon: false });         expect(wrapper.find(IconButton).exists()).toBeFalsy();       });     });      describe('does render', () => {       it('when onDismiss and showCloseIcon props are provided', () => {         expect(wrapper.find(IconButton).exists()).toBeTruthy();         expect(onDismissCallback).toBeCalledTimes(0);       });     });   });    describe('when closeIcon is provided', () => {     let wrapper, onDismissCallback;      beforeEach(() => {       onDismissCallback = jest.fn();       wrapper = shallow(         <Message           theme={ classicTheme }           roundedCorners={ false }           variant='info'           onDismiss={ onDismissCallback }         