Skip to content

part 8 - test for twitterfeed #6

Description

@Lechus

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); }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions