ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ChangedUserFieldAttributeTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
28 {
30 
31  protected function setUp(): void
32  {
33  $this->changedUserFieldAttribute = new ChangedUserFieldAttribute(
34  "AttributeName",
35  "oldValue",
36  "newValue"
37  );
38  }
39 
40  public function testGetAttributeName(): void
41  {
42  $this->assertEquals("AttributeName", $this->changedUserFieldAttribute->getAttributeName());
43  }
44 
45  public function testGetOldValue(): void
46  {
47  $this->assertEquals("oldValue", $this->changedUserFieldAttribute->getOldValue());
48  }
49 
50  public function testGetNewValue(): void
51  {
52  $this->assertEquals("newValue", $this->changedUserFieldAttribute->getNewValue());
53  }
54 }
ChangedUserFieldAttribute $changedUserFieldAttribute
Class ChangedUserFieldAttributeTest.