Renamed test classes

This commit is contained in:
Alex Bilbie
2014-05-03 13:54:30 +01:00
parent b8e2c5a3f8
commit 7356c5ad74
11 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace LeagueTests\Entity;
use League\OAuth2\Server\Entity\ScopeEntity;
use \Mockery as M;
class ScopeTest extends \PHPUnit_Framework_TestCase
{
public function testSetGet()
{
$server = M::mock('League\OAuth2\Server\AbstractServer');
$scope = new ScopeEntity($server);
$scope->setId('foobar');
$scope->setDescription('barfoo');
$this->assertEquals('foobar', $scope->getId());
$this->assertEquals('barfoo', $scope->getDescription());
}
}