/** @test */ public function the_a_new_instance_can_be_generated_with_new_app_config() { $fb = $this->laravel_facebook_sdk->newInstance(['app_id' => 'app2_id', 'app_secret' => 'app2_secret']); $app_token = (string) $fb->getApp()->getAccessToken(); $this->assertEquals('app2_id|app2_secret', $app_token); }