import { Verb } from '../../../../../models/bxml/Verb'; import { SendDtmf, SendDtmfAttributes } from '../../../../../models/bxml/verbs/SendDtmf'; describe('SendDtmf', () => { const attributes: SendDtmfAttributes = { toneDuration: 5, toneInterval: 5 }; const expected = '1234'; test('should create a SendDtmf Verb', () => { const sendDtmf = new SendDtmf('1234', attributes); expect(sendDtmf).toBeInstanceOf(SendDtmf); expect(sendDtmf).toBeInstanceOf(Verb); expect(sendDtmf.toBxml()).toBe(expected); }); });