vi.spyOn messes with the outcome when using Layer.mock. (Code in the thread.)UnimplementedError: Dependency: Unimplemented method "fn" as expected. When I have the spy uncommented the error is just TypeError: impl.apply is not a function which is not indicative of what is wrong.UnimplementedError.