def attribute_invoked(self, sender, name, args, kwargs):
        "Handles the creation of ExpectationBuilder when an attribute is invoked."
        return ExpectationBuilder(self.sender, self.delegate, self.add_invocation, self.add_expectations, '__call__')(*args, **kwargs)