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

@@ -8,8 +8,8 @@
namespace Meritoo\Common\Test\Utilities;
use Meritoo\Common\Test\Base\BaseTestCase;
use Meritoo\Common\Utilities\Xml;
use PHPUnit\Framework\TestCase;
use SimpleXMLElement;
/**
@@ -18,11 +18,16 @@ use SimpleXMLElement;
* @author Krzysztof Niziol <krzysztof.niziol@meritoo.pl>
* @copyright Meritoo.pl
*/
class XmlTest extends TestCase
class XmlTest extends BaseTestCase
{
private $simpleXml;
private $advancedXml;
public function verifyConstructor()
{
static::assertHasNoConstructor(Xml::class);
}
public function testMergeNodes()
{
/*