3
있습니까? :RhinoMock에서 SetupResult와 Stub의 차이점은 무엇입니까?
var storage = mocks.DynamicMock<IStorage>();
...
SetupResult.For(storage.GetCustomers())
.Return(new Collection<Customer> { cust1, cust2 });
// and
storage.Stub(x => x.Customers)
.Return(new Collection<Customer> { cust1, cust2 });