File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -161,30 +161,35 @@ public function testMethodException()
161161 /** @var MockInterface|ProxyClient $proxyClient */
162162 $ proxyClient = \Mockery::mock (ProxyClient::class);
163163 $ cacheInvalidator = new CacheInvalidator ($ proxyClient );
164+
164165 try {
165166 $ cacheInvalidator ->invalidatePath ('/ ' );
166167 $ this ->fail ('Expected exception ' );
167168 } catch (UnsupportedProxyOperationException $ e ) {
168169 // success
169170 }
171+
170172 try {
171173 $ cacheInvalidator ->refreshPath ('/ ' );
172174 $ this ->fail ('Expected exception ' );
173175 } catch (UnsupportedProxyOperationException $ e ) {
174176 // success
175177 }
178+
176179 try {
177180 $ cacheInvalidator ->invalidate ([]);
178181 $ this ->fail ('Expected exception ' );
179182 } catch (UnsupportedProxyOperationException $ e ) {
180183 // success
181184 }
185+
182186 try {
183187 $ cacheInvalidator ->invalidateRegex ('/ ' );
184188 $ this ->fail ('Expected exception ' );
185189 } catch (UnsupportedProxyOperationException $ e ) {
186190 // success
187191 }
192+
188193 try {
189194 $ cacheInvalidator ->invalidateTags ([]);
190195 $ this ->fail ('Expected exception ' );
You can’t perform that action at this time.
0 commit comments