The function below, called `MockNotification` is just returning a `new MockNotificationObject` which means one of them is useless. Since `MocksHelper` expects to map the real `Foo` to a `MockFoo`, please just call this `MockNotification` and get rid of the duplicate function below.