import {Toast} from '../../../../src';

export function run() {

describe('Toast', () => {

  describe('create', () => {

    it('should create toast with close button', () => {
      let toast = Toast.create({
        message: 'Please Wait...',
        showCloseButton: true
      });

      expect(toast.data.message).toEqual('Please Wait...');
      expect(toast.data.showCloseButton).toEqual(true);
    });

  });
});

}
