AlarmTest
extends TestCase
in package
Table of Contents
Properties
- $speaker : SpeakerInterface|MockInterface
Methods
- getMockAlarm() : Alarm
- testActivate() : void
- testDeactivate() : void
- testDelete() : void
- testFrequencyConstants1() : void
- testFrequencyConstants2() : void
- testFrequencyConstants3() : void
- testFrequencyConstants4() : void
- testFrequencyConstants5() : void
- testFrequencyConstants6() : void
- testFrequencyConstants7() : void
- testFrequencyMethods1() : void
- testFrequencyMethods2() : void
- testFrequencyMethods3() : void
- testFrequencyMethods4() : void
- testFrequencyMethods5() : void
- testFrequencyMethods6() : void
- testFrequencyMethods7() : void
- testGetDuration() : void
- testGetId() : void
- testGetMusic() : void
- testGetRepeat() : void
- testGetRoom() : void
- testGetShuffle() : void
- testGetTime() : void
- testGetVolume() : void
- testIsActive() : void
- testIsNotActive() : void
- testSetMusic() : void
- testSetRepeat1() : void
- testSetRepeat2() : void
- testSetShuffle1() : void
- testSetShuffle2() : void
- testSetVolume() : void
- getMockRecurrence() : Alarm
Properties
$speaker
protected
SpeakerInterface|MockInterface
$speaker
Methods
getMockAlarm()
public
getMockAlarm([array<string, string|int> $attributes = [] ]) : Alarm
Parameters
- $attributes : array<string, string|int> = []
Return values
AlarmtestActivate()
public
testActivate() : void
testDeactivate()
public
testDeactivate() : void
testDelete()
public
testDelete() : void
Attributes
- #[DoesNotPerformAssertions]
testFrequencyConstants1()
public
testFrequencyConstants1() : void
testFrequencyConstants2()
public
testFrequencyConstants2() : void
testFrequencyConstants3()
public
testFrequencyConstants3() : void
testFrequencyConstants4()
public
testFrequencyConstants4() : void
testFrequencyConstants5()
public
testFrequencyConstants5() : void
testFrequencyConstants6()
public
testFrequencyConstants6() : void
testFrequencyConstants7()
public
testFrequencyConstants7() : void
testFrequencyMethods1()
public
testFrequencyMethods1() : void
testFrequencyMethods2()
public
testFrequencyMethods2() : void
testFrequencyMethods3()
public
testFrequencyMethods3() : void
testFrequencyMethods4()
public
testFrequencyMethods4() : void
testFrequencyMethods5()
public
testFrequencyMethods5() : void
testFrequencyMethods6()
public
testFrequencyMethods6() : void
testFrequencyMethods7()
public
testFrequencyMethods7() : void
testGetDuration()
public
testGetDuration() : void
testGetId()
public
testGetId() : void
testGetMusic()
public
testGetMusic() : void
testGetRepeat()
public
testGetRepeat() : void
testGetRoom()
public
testGetRoom() : void
testGetShuffle()
public
testGetShuffle() : void
testGetTime()
public
testGetTime() : void
testGetVolume()
public
testGetVolume() : void
testIsActive()
public
testIsActive() : void
testIsNotActive()
public
testIsNotActive() : void
testSetMusic()
public
testSetMusic() : void
testSetRepeat1()
public
testSetRepeat1() : void
testSetRepeat2()
public
testSetRepeat2() : void
testSetShuffle1()
public
testSetShuffle1() : void
testSetShuffle2()
public
testSetShuffle2() : void
testSetVolume()
public
testSetVolume() : void
getMockRecurrence()
protected
getMockRecurrence(string $recurrence) : Alarm
Parameters
- $recurrence : string