Exemple #1
0
 /**
  * Testing the checkRecordExists method.
  *
  * @since 1.0
  * @dataProvider getActiveRecordProviders
  */
 public function testCheckRecordExists($provider)
 {
     $config = ConfigProvider::getInstance();
     $config->set('db.provider.name', $provider);
     $this->person->save();
     $person = new Person();
     $this->assertTrue($person->checkRecordExists($this->person->getOID()), 'Testing the checkRecordExists method');
 }