mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
BaseTestCase - assertHasNoConstructor() method - asserts that class with given namespace has no constructor
This commit is contained in:
@@ -23,6 +23,11 @@ use Meritoo\Common\Utilities\Date;
|
||||
*/
|
||||
class DateTest extends BaseTestCase
|
||||
{
|
||||
public function verifyConstructor()
|
||||
{
|
||||
static::assertHasNoConstructor(Date::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $value Empty value, e.g. ""
|
||||
* @dataProvider provideEmptyValue
|
||||
|
||||
Reference in New Issue
Block a user