I'm using Angular CLI 1.0.0-beta.32.2 and am writing a unit test for an Angular 2 service, which dynamically creates a Component and inserts it into another Component. 

In my unit test I try to create a mock component to test my service, but the output of `ng test` throws an error, stating my mock Component is specified in the `entryComponents` property. When I try to add the Component into an `entryComponents` property of the TestModuleMetadata object, like this: `TestBed.createTestingModule({...entryComponents: [ TestDialogComponent ]...})` I see the following error stating the `entryComponents` property does not exist.

`Chrome 56.0.2924 (Windows 10 0.0.0) DialogService should create a child component when opening FAILED
Error: No component factory found for TestDialogComponent. Did you add it to @NgModule.entryComponents?`

Looking at the TestModuleMetadata definition shows that the entryComponents property does not exist. So how do I go about dynamically creating a Component in my unit tests in Angular 2 and Jasmine?