You are viewing documentation for an outdated version. It is no longer supported!
Test Cases
Base abstraction classes for your test-classes can inherit from.
UnitTestCase
A basic unit test-case that setup Faker, before each test and closes Mockery after each test.
use \Aedart\Testing\TestCases\UnitTestCase;
class MyTest extends UnitTestCase
{
/**
* @test
*/
public function isFakerAvailable()
{
$value = $this->faker->address;
$this->assertNotEmpty($value);
}
}