public function getCleanStateOfPropertyReturnsNullIfObjectWasNotReconstituted()
{
$entity = new \stdClass();
$session = $this->getAccessibleMock(Persistence\Generic\Session::class, ['isReconstitutedEntity']);
$session->expects($this->any())->method('isReconstitutedEntity')->with($entity)->will($this->returnValue(false));
$state = $session->getCleanStateOfProperty($entity, 'bar');
$this->assertNull($state);
}