code: def expect(self):
          '''
          Add an expectation to this stub. Return the expectation.
          '''
          exp = Expectation(self)
          self._expectations.append(exp)
          return exf expect(self):
          '''
          Add an expectation to this stub. Return the expectation.
          '''
          exp = Expectation(self)
          self._expectations.append(exp)
          return exp
docs: Add an expectation to this stub. Return the expectation.