You are here

public function MatchObjectTest::testFactoryReturnsObject in Bibliography Module 7.2

File

lib/msrc-authortool/tests/MatchObjectTest.php, line 48

Class

MatchObjectTest

Code

public function testFactoryReturnsObject() {
  $obj = new TestMatchObject();
  $classname = get_class($obj);
  $newobj = $classname::factory();
  $this
    ->assertInstanceOf('TestMatchObject', $newobj);
}