public function testGetId() { $this->assertNull($this->transitionRecord->getId()); $value = 42; $idReflection = new \ReflectionProperty('Oro\\Bundle\\WorkflowBundle\\Entity\\WorkflowTransitionRecord', 'id'); $idReflection->setAccessible(true); $idReflection->setValue($this->transitionRecord, $value); $this->assertEquals($value, $this->transitionRecord->getId()); }