I was coding test cases for an angular application using jasmine. But many internal methods are declared as private in the services.
Example:
App.service
If you want to call your private method you just have to do it like this:
component["thePrivateMethodName"](parameters);
Where component is your service class or component class.
component