public function isDirtyReturnsFalseForNullInBothCurrentAndCleanValue()
{
$className = 'Class' . md5(uniqid(mt_rand(), true));
eval('class ' . $className . ' { public $foo; }');
$object = new $className();
$session = $this->getMockBuilder(Persistence\Generic\Session::class)->setMethods(['getIdentifierByObject'])->getMock();
$session->registerReconstitutedEntity($object, ['identifier' => 'fakeUuid']);
$session->expects($this->once())->method('getIdentifierByObject')->will($this->returnValue('fakeUuid'));
$this->assertFalse($session->isDirty($object, 'foo'));
}