// values ended up in the proper destinations, and that the value of the
// key (@id) is the same as the destination ID (42).
$new_value = $plugin->transform($current_value, $migrate_executable, $row, 'test');
- $this->assertSame(count($new_value), 1);
- $this->assertSame(count($new_value[42]), 2);
- $this->assertSame($new_value[42]['foo'], 'test');
- $this->assertSame($new_value[42]['id'], 42);
+ $this->assertSame(1, count($new_value));
+ $this->assertSame(2, count($new_value[42]));
+ $this->assertSame('test', $new_value[42]['foo']);
+ $this->assertSame(42, $new_value[42]['id']);
}
}