title: Unit Test to see if class methods are defined
body: <p>I simply want to test if my class methods are defined, e.g.:</p>
  
  <pre><code>export class GoalSettingsPage {
  
      public goal: Goal;
  
      constructor(
      ) {
          this.goal = this.navParams.get('goal');
      }
  
      saveForm(event) {
          this.viewCtrl.dismiss(this.goal);
      }
  </code></pre>
  
  <p>Unit Test sth like:</p>
  
  <pre><code>xit('should have methods defined', () =&gt; {
  
      let g = new Goal()
      let np = new NavParams()
      let vc = new ViewController()
      let e = new Events()
      let fb = new FormBuilder()
  
      let settingModal = new GoalSettingsPage(np,vc,fb,e);
  
      expect (settingModal.saveForm(e).toBeDefined;
  })
  </code></pre>
  
  <p>Isn't working.</p>