public function setUp()
 {
     parent::setUp();
     $this->test_dir = THINKUP_ROOT_PATH . 'webapp/plugins/twitterrealtime/tests/testdata/';
     $this->json_parser = new TwitterJSONStreamParser();
     $this->logger = Logger::getInstance('stream_log_location');
     $this->post_dao = DAOFactory::getDAO('PostDAO');
     $this->post_dao->setLoggerInstance($this->logger);
     $this->favs_dao = DAOFactory::getDAO('FavoritePostDAO');
     $this->favs_dao->setLoggerInstance($this->logger);
     $this->user_dao = DAOFactory::getDAO('UserDAO');
     $this->user_dao->setLoggerInstance($this->logger);
     $this->place_dao = DAOFactory::getDAO('PlaceDAO');
     $this->place_dao->setLoggerInstance($this->logger);
     $this->mention_dao = DAOFactory::getDAO('MentionDAO');
     $this->mention_dao->setLoggerInstance($this->logger);
     $this->hashtag_dao = DAOFactory::getDAO('HashtagDAO');
     $this->hashtag_dao->setLoggerInstance($this->logger);
 }