Using jasmin, I can create a spy using the code below:
let mockedRouter = {navigate: jasmine.createSpy(\'navigate\')};
This can then be teste