19declare(strict_types=1);
23use ILIAS\LegalDocuments\test\ContainerMock;
26use PHPUnit\Framework\TestCase;
28require_once __DIR__ .
'/../ContainerMock.php';
39 $this->mock(Target::class)
48 $this->mock(Target::class)
51 $this->assertTrue($instance->intercept());
59 $this->mock(Target::class)
62 $this->assertSame(
'foo', $instance->id());
67 $target = $this->mock(Target::class);
74 $this->assertSame($target, $instance->target());