ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Tests\Refinery\DateTime\GroupTest Class Reference
+ Inheritance diagram for ILIAS\Tests\Refinery\DateTime\GroupTest:
+ Collaboration diagram for ILIAS\Tests\Refinery\DateTime\GroupTest:

Public Member Functions

 testChangeTimezone ()
 
 testChangeTimezoneWrongConstruction ()
 

Protected Member Functions

 setUp ()
 

Private Attributes

Group $group
 

Detailed Description

Definition at line 27 of file GroupTest.php.

Member Function Documentation

◆ setUp()

ILIAS\Tests\Refinery\DateTime\GroupTest::setUp ( )
protected

Definition at line 31 of file GroupTest.php.

31 : void
32 {
33 $this->group = new Group();
34 }

References ILIAS\ILIASObject\Creation\Group.

◆ testChangeTimezone()

ILIAS\Tests\Refinery\DateTime\GroupTest::testChangeTimezone ( )

Definition at line 36 of file GroupTest.php.

36 : void
37 {
38 $instance = $this->group->changeTimezone('Europe/Berlin');
39 $this->assertInstanceOf(ChangeTimezone::class, $instance);
40 }

◆ testChangeTimezoneWrongConstruction()

ILIAS\Tests\Refinery\DateTime\GroupTest::testChangeTimezoneWrongConstruction ( )

Definition at line 42 of file GroupTest.php.

42 : void
43 {
44 $this->expectException(\InvalidArgumentException::class);
45 $instance = $this->group->changeTimezone('MiddleEarth/Minas_Morgul');
46 }

Field Documentation

◆ $group

Group ILIAS\Tests\Refinery\DateTime\GroupTest::$group
private

Definition at line 29 of file GroupTest.php.


The documentation for this class was generated from the following file: