title: Jasmine: Cannot set isMultiple of undefined
body: <p>I'm getting an error in my test:</p>
  
  <pre><code>Failed: Cannot set property 'isMultiple' of undefined
  </code></pre>
  
  <p>My test script is pretty standard - it looks liek this: </p>
  
  <pre><code>  beforeEach(() =&gt; {
      fixture = TestBed.createComponent(DropdownTypeaheadControlComponent);
      component = fixture.componentInstance;
      component.multipleStringSeperator = '|';
      component.isMultiple = true;
  
      fixture.detectChanges();
    });
  
    // This test fails.
    it('should be created', () =&gt; {
      expect(component).toBeTruthy();
    });
  </code></pre>
  
  <p>In my component there is a property called isMultiple set. However, I don't understand why my component is <code>undefined</code>.</p>
  
  <p>Can anyone help please?</p>