| 1 | <?php |
||
| 17 | class PriorityTest extends TestCase |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @test |
||
| 21 | */ |
||
| 22 | public function shouldSuccessCreateImmediately() |
||
| 23 | { |
||
| 24 | $priority = Priority::immediately(); |
||
| 25 | |||
| 26 | self::assertEquals(10, $priority->getValue()); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @test |
||
| 31 | */ |
||
| 32 | public function shouldSuccessCreatePowerConsiderations() |
||
| 33 | { |
||
| 34 | $priority = Priority::powerConsiderations(); |
||
| 35 | |||
| 36 | self::assertEquals(5, $priority->getValue()); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |