Lines Matching refs:we
106 Ok, now we have our object prophecy. What can we do with it? First of all, we can get
127 Ok, now we know how to create basic prophecies and reveal dummies from them. That's
128 awesome if we don't care about our _doubles_ (objects that reflect originals)
129 interactions. If we do, we need to use *stubs* or *mocks*.
140 Oh wow. We've just made an arbitrary call on the object prophecy? Yes, we did. And this
149 As a matter of fact, the call that we made earlier (`willReturn('value')`) is a simple
315 Ok, now we know how to define our prophecy method promises, let's get our stub from
322 As you might see, the only difference between how we get dummies and stubs is that with
323 stubs we describe every object conversation instead of just agreeing with `null` returns
331 Now we know how to define doubles without behavior (dummies) and doubles with behavior, but
332 no expectations (stubs). What's left is doubles for which we have some expectations. These
348 the `shouldBeCalled()` method we used earlier is just a shortcut to: