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:
@@ -20,6 +20,11 @@ use Meritoo\Common\Utilities\Locale;
|
||||
*/
|
||||
class LocaleTest extends BaseTestCase
|
||||
{
|
||||
public function verifyConstructor()
|
||||
{
|
||||
static::assertHasNoConstructor(Locale::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $languageCode Empty value, e.g. ""
|
||||
* @dataProvider provideEmptyValue
|
||||
|
||||
Reference in New Issue
Block a user