Test File Cleanup

- Added coverage annotations
- Fixed one test that didn't extend library's base test case
- Removed tear downs that are duplicated by test case default
- Added Mockery::close into test case default tear down
This commit is contained in:
Jessica Mauerhan
2016-03-27 15:23:35 -04:00
parent fce5d67a0f
commit 85122cce5a
14 changed files with 64 additions and 28 deletions
+5 -7
View File
@@ -4,8 +4,12 @@ namespace Ramsey\Uuid\Test\Generator;
use Ramsey\Uuid\Generator\OpenSslGenerator;
use Ramsey\Uuid\Test\TestCase;
use AspectMock\Test as AspectMock;
/**
* Class OpenSslGeneratorTest
* @package Ramsey\Uuid\Test\Generator
* @covers Ramsey\Uuid\Generator\OpenSslGenerator
*/
class OpenSslGeneratorTest extends TestCase
{
public function setUp()
@@ -14,12 +18,6 @@ class OpenSslGeneratorTest extends TestCase
parent::setUp();
}
public function tearDown()
{
parent::tearDown();
AspectMock::clean();
}
public function lengthAndHexDataProvider()
{
return [