public function testSomeFunctions() { $test = new Article(); $wrapped = new EntityWrapper($test, $this->em); $wrapped->populate(array('title' => 'test')); $this->assertEquals('test', $wrapped->getPropertyValue('title')); $this->assertFalse($wrapped->hasValidIdentifier()); }