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()
161
161
/** @var MockInterface|ProxyClient $proxyClient */
162
162
$ proxyClient = \Mockery::mock (ProxyClient::class);
163
163
$ cacheInvalidator = new CacheInvalidator ($ proxyClient );
164
+
164
165
try {
165
166
$ cacheInvalidator ->invalidatePath ('/ ' );
166
167
$ this ->fail ('Expected exception ' );
167
168
} catch (UnsupportedProxyOperationException $ e ) {
168
169
// success
169
170
}
171
+
170
172
try {
171
173
$ cacheInvalidator ->refreshPath ('/ ' );
172
174
$ this ->fail ('Expected exception ' );
173
175
} catch (UnsupportedProxyOperationException $ e ) {
174
176
// success
175
177
}
178
+
176
179
try {
177
180
$ cacheInvalidator ->invalidate ([]);
178
181
$ this ->fail ('Expected exception ' );
179
182
} catch (UnsupportedProxyOperationException $ e ) {
180
183
// success
181
184
}
185
+
182
186
try {
183
187
$ cacheInvalidator ->invalidateRegex ('/ ' );
184
188
$ this ->fail ('Expected exception ' );
185
189
} catch (UnsupportedProxyOperationException $ e ) {
186
190
// success
187
191
}
192
+
188
193
try {
189
194
$ cacheInvalidator ->invalidateTags ([]);
190
195
$ this ->fail ('Expected exception ' );
You can’t perform that action at this time.
0 commit comments