for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* SocialConnect project
* @author: Patsura Dmitry https://github.com/ovr <[email protected]>
*/
namespace Test;
class ServiceTest extends TestCase
{
public function testConstructSuccess()
$service = $this->getService();
$this->assertInstanceOf(\SocialConnect\Auth\Service::class, $service);
}
public function testGetProvider()
$vkProvider = $service->getProvider('Vk');
$this->assertInstanceOf(\SocialConnect\Auth\Provider\Vk::class, $vkProvider);