ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ChangedUserFieldAttributeTest.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\User\Tests;
22 
24 
30 {
32 
33  protected function setUp(): void
34  {
35  $this->changedUserFieldAttribute = new ChangedUserFieldAttribute(
36  "AttributeName",
37  "oldValue",
38  "newValue"
39  );
40  }
41 
42  public function testGetAttributeName(): void
43  {
44  $this->assertEquals("AttributeName", $this->changedUserFieldAttribute->getAttributeName());
45  }
46 
47  public function testGetOldValue(): void
48  {
49  $this->assertEquals("oldValue", $this->changedUserFieldAttribute->getOldValue());
50  }
51 
52  public function testGetNewValue(): void
53  {
54  $this->assertEquals("newValue", $this->changedUserFieldAttribute->getNewValue());
55  }
56 }