title: Get class methods in typescript
body: <p>I am running typescript unit tests with mocha chai (after setting the compiler options to ts-node).</p>
  
  <p>In one of my unit tests, I would like to get all the methods of a utility class that I have created and run the same tests on them.
  To be more concrete, I would like to achieve something like this:</p>
  
  <pre><code>UtilityClass.getMethods().forEach(method=&gt;{method(sameInputData)})
  </code></pre>
  
  <p>Is there a way to implement getMethods elegantly? Or maybe, another way to tackle this need?</p>