import { Verb } from '../../../../../models/bxml/Verb';
import { SpeakSentence, SpeakSentenceAttributes } from '../../../../../models/bxml/verbs/SpeakSentence';
describe('SpeakSentence', () => {
const attributes: SpeakSentenceAttributes = {
voice: 'julie',
gender: 'female',
locale: 'en_US'
};
const expected = 'Holanodejs speak sentence SSML test';
test('should create a SpeakSentence Verb', () => {
const speakSentence = new SpeakSentence('Holanodejs speak sentence SSML test', attributes);
expect(speakSentence).toBeInstanceOf(SpeakSentence);
expect(speakSentence).toBeInstanceOf(Verb);
expect(speakSentence.toBxml()).toBe(expected);
});
});