Ejemplo n.º 1
0
 /**
  * @dataProvider nonEmptyFingerprintProvider
  */
 public function testNonEmptyFingerprintIsNotEmpty(Fingerprint $nonEmptyFingerprint)
 {
     $this->assertFalse($nonEmptyFingerprint->isEmpty());
 }
Ejemplo n.º 2
0
 /**
  * Returns if the Property has no content.
  * Having an id and type set does not count as having content.
  *
  * @since 0.1
  *
  * @return bool
  */
 public function isEmpty()
 {
     return $this->fingerprint->isEmpty() && $this->statements->isEmpty();
 }