title: Simulate keyup.space event for unit test in angular2 using karma jasmine
body: <pre><code>&lt;input type="checkbox" class="mocked_as_radio_button" 
  (keyup.space)="spaceKeyPress($event)"&gt;
  </code></pre>
  
  <p>I have an input element which is a checkbox.
  I want to simulate keyup.space event to test the functionality of</p>
  
  <pre><code> spaceKeyPress($event)
  </code></pre>
  
  <p>Don't want to use jQuery.</p>