<commit_before>import {DYNAMIC_FORM_CONTROL_TYPE_SELECT, DynamicSelectModel} from "./dynamic-select.model";

describe("DynamicSelectModel test suite", () => {

    describe("default object test suite", () => {

        let defaultObject: DynamicSelectModel<any>;

        beforeEach(() => {
            defaultObject = new DynamicSelectModel({});
        });

        it("tests if correct default type property is set", () => {

            expect(defaultObject.type).toBeDefined();
            expect(defaultObject.type).toEqual(DYNAMIC_FORM_CONTROL_TYPE_SELECT);
        });
        
    });

});<commit_msg>unit test for DynamicSelectModel extended<commit_after>import {DYNAMIC_FORM_CONTROL_TYPE_SELECT, DynamicSelectModel} from "./dynamic-select.model";

describe("DynamicSelectModel test suite", () => {

    describe("default object test suite", () => {

        let defaultObject: DynamicSelectModel<any>;

        beforeEach(() => {
            defaultObject = new DynamicSelectModel({});
        });

        it("tests if correct default type property is set", () => {

            expect(defaultObject.type).toBeDefined();
            expect(defaultObject.type).toEqual(DYNAMIC_FORM_CONTROL_TYPE_SELECT);
        });

        it("tests if correct default options property is set", () => {

            expect(defaultObject.options).toBeDefined();
            expect(defaultObject.options).toEqual([]);
        });
        
    });

});
{'fraction_non_alphanumeric': 0.1328719723183391, 'fraction_numerical': 0.0, 'mean_word_length': 2.9186991869918697, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5390729', 'n_tokens_mistral': 386, 'n_tokens_neox': 363, 'n_words': 72}