@@ 61-71 (lines=11) @@ | ||
58 | /** |
|
59 | * @dataProvider containsDataProvider |
|
60 | */ |
|
61 | public function testContains($exp, $exp2, $contains) |
|
62 | { |
|
63 | $this |
|
64 | ->given( |
|
65 | $sut = new SUT($exp), |
|
66 | $sut2 = new SUT($exp2) |
|
67 | ) |
|
68 | ->then |
|
69 | ->boolean($sut->contains($sut2)) |
|
70 | ->isEqualTo($contains); |
|
71 | } |
|
72 | ||
73 | /** |
|
74 | * @dataProvider containsDataProvider |
|
@@ 76-86 (lines=11) @@ | ||
73 | /** |
|
74 | * @dataProvider containsDataProvider |
|
75 | */ |
|
76 | public function testContained($exp, $exp2, $contained) |
|
77 | { |
|
78 | $this |
|
79 | ->given( |
|
80 | $sut = new SUT($exp), |
|
81 | $sut2 = new SUT($exp2) |
|
82 | ) |
|
83 | ->then |
|
84 | ->boolean($sut2->contained($sut)) |
|
85 | ->isEqualTo($contained); |
|
86 | } |
|
87 | } |
|
88 |