MCPcopy Create free account
hub / github.com/Rello/analytics / setUp

Method setUp

tests/Security/ExternalUrlValidatorTest.php:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 private IRemoteHostValidator $remoteHostValidator;
15
16 protected function setUp(): void {
17 parent::setUp();
18 $this->remoteHostValidator = $this->createMock(IRemoteHostValidator::class);
19 $this->remoteHostValidator->method('isValid')->willReturn(false);
20 }
21
22 /**
23 * @dataProvider blockedUrls

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected