@@ -22,6 +22,9 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | class DispatchingEntityLookupTest extends \PHPUnit_Framework_TestCase { |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @return EntityIdParser |
|
| 27 | + */ |
|
| 25 | 28 | private function getEntityIdParser() { |
| 26 | 29 | $parser = $this->getMock( EntityIdParser::class ); |
| 27 | 30 | $parser->expects( $this->any() ) |
@@ -120,6 +123,9 @@ discard block |
||
| 120 | 123 | $dispatchingLookup->getEntity( new ItemId( 'Q321' ) ); |
| 121 | 124 | } |
| 122 | 125 | |
| 126 | + /** |
|
| 127 | + * @return EntityIdParser |
|
| 128 | + */ |
|
| 123 | 129 | private function getExceptionThrowingEntityIdParser() { |
| 124 | 130 | $parser = $this->getMock( EntityIdParser::class ); |
| 125 | 131 | $parser->expects( $this->any() ) |