DeviceTest
extends TestCase
in package
FinalYes
Table of Contents
Properties
- $cache : CacheInterface|MockInterface
- $client : ClientInterface|MockInterface
- $device : Device
- $logger : LoggerInterface|MockInterface
Methods
- setupDeviceDescription() : void
- testGetIp1() : void
- testGetModel1() : void
- testGetModel2() : void
- Ensure an empty model number returns our default "UNKNOWN" string.
- testGetModel3() : void
- Ensure a missing model number tag returns our default "UNKNOWN" string.
- testGetName1() : void
- testGetRoom1() : void
- testGetUuid1() : void
- testLookupDeviceDescription1() : void
- Ensure that the XML is read from cache and not requested if available.
- setUp() : void
- tearDown() : void
Properties
$cache
private
CacheInterface|MockInterface
$cache
$client
private
ClientInterface|MockInterface
$client
$device
private
Device
$device
$logger
private
LoggerInterface|MockInterface
$logger
Methods
setupDeviceDescription()
public
setupDeviceDescription() : void
testGetIp1()
public
testGetIp1() : void
testGetModel1()
public
testGetModel1() : void
testGetModel2()
Ensure an empty model number returns our default "UNKNOWN" string.
public
testGetModel2() : void
testGetModel3()
Ensure a missing model number tag returns our default "UNKNOWN" string.
public
testGetModel3() : void
testGetName1()
public
testGetName1() : void
testGetRoom1()
public
testGetRoom1() : void
testGetUuid1()
public
testGetUuid1() : void
testLookupDeviceDescription1()
Ensure that the XML is read from cache and not requested if available.
public
testLookupDeviceDescription1() : void
setUp()
protected
setUp() : void
tearDown()
protected
tearDown() : void