1 | <?php |
||
19 | class AssertionChainFunctionsTest extends \PHPUnit_Framework_TestCase |
||
20 | { |
||
21 | /** |
||
22 | * @test |
||
23 | */ |
||
24 | public function it_chains_assertions() |
||
28 | |||
29 | /** |
||
30 | * @test |
||
31 | */ |
||
32 | public function it_shifts_arguments_to_assertions_by_one() |
||
36 | |||
37 | /** |
||
38 | * @test |
||
39 | */ |
||
40 | public function it_knowns_default_error_message() |
||
46 | |||
47 | /** |
||
48 | * @test |
||
49 | */ |
||
50 | public function it_skips_assertions_on_valid_null() |
||
54 | |||
55 | /** |
||
56 | * @test |
||
57 | */ |
||
58 | public function it_validates_all_inputs() |
||
62 | |||
63 | /** |
||
64 | * @test |
||
65 | */ |
||
66 | public function it_has_thatall_shortcut() |
||
70 | |||
71 | /** |
||
72 | * @test |
||
73 | */ |
||
74 | public function it_has_nullor_shortcut() |
||
78 | |||
79 | /** |
||
80 | * @expectedException \RuntimeException |
||
81 | * @expectedExceptionMessage Assertion 'unknownAssertion' does not exist. |
||
82 | * @test |
||
83 | */ |
||
84 | public function it_throws_exception_for_unknown_assertion() |
||
88 | |||
89 | /** |
||
90 | * @test |
||
91 | */ |
||
92 | public function it_has_satisfy_shortcut() |
||
98 | } |
||
99 |