public static function create() { $request = self::makeRequest(); $providersContainer = new ProvidersContainer($request, new Response()); return new Bot($providersContainer); }
protected function setUp() { $this->bot = PinterestBot::create(); $this->reflection = new ReflectionClass($this->bot); $this->setReflectedObject($this->bot); }