You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm newbie to TDD so my appologize for that question, but shouldn't we write test for Twitter like for Facebook? public function testSocialFeedCanBeInstantiated() { $t = M::mock('Example\FeedReaders\FacebookFeedReader'); $s = new SocialFeed($t); }
public function testSocialFeedCanBeInstantiated2() { $t = M::mock('Example\FeedReaders\TwitterFeedReader'); $s = new SocialFeed($t); }
The text was updated successfully, but these errors were encountered:
Hi,
I'm newbie to TDD so my appologize for that question, but shouldn't we write test for Twitter like for Facebook?
public function testSocialFeedCanBeInstantiated() { $t = M::mock('Example\FeedReaders\FacebookFeedReader'); $s = new SocialFeed($t); }
public function testSocialFeedCanBeInstantiated2() { $t = M::mock('Example\FeedReaders\TwitterFeedReader'); $s = new SocialFeed($t); }
The text was updated successfully, but these errors were encountered: