--
You received this message because you are subscribed to the Google Groups "Cedar Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cedar-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
spy_on([NSDate class]);
NSDate *fakeDate = fake_for([NSDate class]);
fakeDate stub_method(@selector(date)).and_return(fakeDateToReturn);
spy_on([NSDate class]);
[NSDate class] stub_method(@selector(date)).and_return(fakeDateToReturn);