Esempio n. 1
0
 /**
  * @dataProvider instanceProvider
  */
 public function testAddNewReferenceWithAnArrayOfSnaks(Statement $statement)
 {
     $snaks = array(new PropertyNoValueSnak(256), new PropertySomeValueSnak(42));
     $statement->addNewReference($snaks);
     $this->assertTrue($statement->getReferences()->hasReference(new Reference($snaks)));
 }