\Tests\Unit\NetworkModule\EntitiesConnectionDetailTest

Tests for network connection entity

Summary

Methods
Properties
Constants
__construct()
testFromForm()
testFromNmCli()
testGetId()
testGetUuid()
testGetType()
testGetInterfaceName()
testGetIpv4()
testGetIpv6()
testToForm()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : 

Sets up the test environment

Returns

testFromForm()

testFromForm() : 

Tests the function to set the network connection configuration from the form

Returns

testFromNmCli()

testFromNmCli() : 

Tests the function to create a detailed network connection entity from nmcli connection configuration

Returns

testGetId()

testGetId() : 

Tests the function to get the network connection ID

Returns

testGetUuid()

testGetUuid() : 

Tests the function to get the network connection UUID

Returns

testGetType()

testGetType() : 

Tests the function to get the network connection type

Returns

testGetInterfaceName()

testGetInterfaceName() : 

Tests the function to get the network interface name

Returns

testGetIpv4()

testGetIpv4() : 

Tests the function to get the IPv4 network connection entity

Returns

testGetIpv6()

testGetIpv6() : 

Tests the function to get the IPv6 network connection entity

Returns

testToForm()

testToForm() : 

Tests the function to convert the network connection entity to an array for the form

Returns