Example for injecting a mock