/** * @Given /^the User's email was updated to the new value$/ */ public function theUserSEmailWasUpdatedToTheNewValue() { $field = $this->currentContent->getField('user_account'); Assertion::assertInstanceOf('eZ\\Publish\\Core\\FieldType\\User\\Value', $field->value); Assertion::assertEquals($this->newEmailValue, $field->value->email); }