FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Public Member Functions | |
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 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 44 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 56 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 79 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 67 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 90 of file GroupTest.php.