$this->assertSame('Klingon Empire', $node->field_company[0]->entity->label());
$this->assertSame('Romulan Empire', $node->field_company[1]->entity->label());
+ // Test that user reference field values were migrated.
+ $this->assertCount(1, $node->field_commander);
+ $this->assertSame('joe.roe', $node->field_commander[0]->entity->getUsername());
+
$node = Node::load(2);
$this->assertIdentical('Test title rev 3', $node->getTitle());
$this->assertIdentical('test rev 3', $node->body->value);