title: Can't bind to 'matMenuTriggerFor' since it isn't a known property of 'button'
body: <p>I'm getting following error when I try to test an angular component:</p>
  
  <p>Error while running jest tests:</p>
  
  <pre><code>Can't bind to 'matMenuTriggerFor' since it isn't a known property of 'button'.
  </code></pre>
  
  <p>Here is my html:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;button mat-button [matMenuTriggerFor]="menu"&gt;Menu&lt;/button&gt;
  &lt;mat-menu #menu="matMenu"&gt;
    &lt;button mat-menu-item&gt;Item 1&lt;/button&gt;
    &lt;button mat-menu-item&gt;Item 2&lt;/button&gt;
  &lt;/mat-menu&gt;`
  </code></pre>
  
  <p>I'm using <code>"@angular/material": "6.1.0",</code> in my package.json.
  I've also imported all the required material dependencies in the <code>beforeAll</code> block under <code>TestBed</code>
  I also tried changing the property of the button from <code>matMenuTriggerFor</code> to <code>mat-menu-trigger-for</code>. It didn't work.</p>
  
  <p>Please suggest how can I fix this test.</p>