import { DyNTS_AppSystemControls } from './app-system-controls.control-model'; import { DyNTS_SystemControl } from './system-control.control-model'; describe('| DyNTS_AppSystemControls', () => { let appSystemControls: DyNTS_AppSystemControls; beforeEach(() => { appSystemControls = new DyNTS_AppSystemControls(); }); it('| should create an instance of DyNTS_AppSystemControls', () => { expect(appSystemControls).toBeTruthy(); }); it('| should initialize "app" as an instance of DyNTS_SystemControl', () => { expect(appSystemControls.app).toBeInstanceOf(DyNTS_SystemControl); }); it('| should initialize "mongoose" as an instance of DyNTS_SystemControl', () => { expect(appSystemControls.mongoose).toBeInstanceOf(DyNTS_SystemControl); }); it('| should initialize "httpServer" as an instance of DyNTS_SystemControl', () => { expect(appSystemControls.httpServer).toBeInstanceOf(DyNTS_SystemControl); }); it('| should initialize "httpsServer" as an instance of DyNTS_SystemControl', () => { expect(appSystemControls.httpsServer).toBeInstanceOf(DyNTS_SystemControl); }); });