BaseTestCase - assertHasNoConstructor() method - asserts that class with given namespace has no constructor

This commit is contained in:
Meritoo
2017-09-21 16:47:41 +02:00
parent 6c70fdd673
commit 318a635ffd
14 changed files with 86 additions and 10 deletions

View File

@@ -29,6 +29,11 @@ use Meritoo\Common\Utilities\Reflection;
*/
class ReflectionTest extends BaseTestCase
{
public function verifyConstructor()
{
static::assertHasNoConstructor(Reflection::class);
}
/**
* @param mixed $invalidClass Empty value, e.g. ""
* @dataProvider provideEmptyValue