is it possible to use Jasmine unit testing framework\'s spyon method upon a classes private methods?
The documentation gives this example but can this be flexivble for a
spyOn(fakePerson, 'sayHello'); expect(fakePerson['sayHello']).toHaveBeenCalled();
by adding to spyOn you remove it from typescript type check. you also need to use array index notation in order to access a private method (sayHello) in the test expect