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:
@@ -8,7 +8,7 @@
|
||||
|
||||
namespace Meritoo\Common\Utilities;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Meritoo\Common\Test\Base\BaseTestCase;
|
||||
|
||||
/**
|
||||
* Tests of the useful regular expressions methods
|
||||
@@ -16,11 +16,16 @@ use PHPUnit\Framework\TestCase;
|
||||
* @author Krzysztof Niziol <krzysztof.niziol@meritoo.pl>
|
||||
* @copyright Meritoo.pl
|
||||
*/
|
||||
class RegexTest extends TestCase
|
||||
class RegexTest extends BaseTestCase
|
||||
{
|
||||
private $simpleText;
|
||||
private $camelCaseText;
|
||||
|
||||
public function verifyConstructor()
|
||||
{
|
||||
static::assertHasNoConstructor(Regex::class);
|
||||
}
|
||||
|
||||
public function testGetCamelCaseParts()
|
||||
{
|
||||
$parts = [];
|
||||
|
||||
Reference in New Issue
Block a user