@@ 156-164 (lines=9) @@ | ||
153 | $this->assertCount(0, $discovery->getBindings()); |
|
154 | } |
|
155 | ||
156 | public function testRemoveBindingsDoesNothingIfNoneFound() |
|
157 | { |
|
158 | $discovery = $this->createDiscovery(); |
|
159 | $discovery->removeBindings(); |
|
160 | ||
161 | $discovery = $this->loadDiscoveryFromStorage($discovery); |
|
162 | ||
163 | $this->assertCount(0, $discovery->getBindings()); |
|
164 | } |
|
165 | ||
166 | public function testRemoveBindingsWithType() |
|
167 | { |
|
@@ 198-206 (lines=9) @@ | ||
195 | $this->assertCount(0, $discovery->getBindings()); |
|
196 | } |
|
197 | ||
198 | public function testRemoveBindingsWithTypeDoesNothingIfTypeNotFound() |
|
199 | { |
|
200 | $discovery = $this->createDiscovery(); |
|
201 | $discovery->removeBindings(Foo::clazz); |
|
202 | ||
203 | $discovery = $this->loadDiscoveryFromStorage($discovery); |
|
204 | ||
205 | $this->assertCount(0, $discovery->getBindings()); |
|
206 | } |
|
207 | ||
208 | /** |
|
209 | * @expectedException \InvalidArgumentException |