mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
19 lines
463 B
PHP
19 lines
463 B
PHP
<?php
|
|
|
|
namespace Barryvdh\LaravelIdeHelper;
|
|
|
|
class ExampleTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* Test that we can actually instantiate the class
|
|
*/
|
|
public function testCanInstantiate()
|
|
{
|
|
$class = new \ReflectionClass(Method::class);
|
|
$method = new \ReflectionMethod(Method::class, 'getDocComment');
|
|
|
|
$obj = new Method($method, 'Method', $class);
|
|
|
|
$this->assertInstanceOf(Method::class, $obj);
|
|
}
|
|
} |