![]() |
FOSSology
4.6.0-rc1
Open Source License Compliance by Open Source Software
|


Public Member Functions | |
| testConstructor () | |
| testDataFormat () | |
| testGetId () | |
| testSetId () | |
| testGetName () | |
| testSetName () | |
Private Member Functions | |
| getGroupInfo () | |
Definition at line 17 of file GroupTest.php.
|
private |
Provides test data and an instance of the Group class.
expectedArray: The expected array structure.obj: The instance of Group being tested. Definition at line 39 of file GroupTest.php.
| Fossology\UI\Api\Test\Models\GroupTest::testConstructor | ( | ) |
Tests that the Group constructor initializes an instance correctly.
Definition at line 26 of file GroupTest.php.
| Fossology\UI\Api\Test\Models\GroupTest::testDataFormat | ( | ) |
Tests Group::getArray() method.
This method validates that the getArray method returns the correct data structure.
Definition at line 57 of file GroupTest.php.
| Fossology\UI\Api\Test\Models\GroupTest::testGetId | ( | ) |
Tests Group::getId() method.
This method validates that the getId method returns the correct ID value.
Definition at line 69 of file GroupTest.php.
| Fossology\UI\Api\Test\Models\GroupTest::testGetName | ( | ) |
Tests Group::getName() method.
This method validates that the getName method returns the correct name value.
Definition at line 92 of file GroupTest.php.
| Fossology\UI\Api\Test\Models\GroupTest::testSetId | ( | ) |
Tests Group::setId() method.
This method validates that the setId method correctly updates the ID value.
Definition at line 80 of file GroupTest.php.
| Fossology\UI\Api\Test\Models\GroupTest::testSetName | ( | ) |
Tests Group::setName() method.
This method validates that the setName method correctly updates the name value.
Definition at line 103 of file GroupTest.php.