public function testInvokeWillTraverseAllGivenLocatorsAndFailToResolve()
{
$locator1 = $this->createMock(SourceLocator::class);
$locator2 = $this->createMock(SourceLocator::class);
$identifier = new Identifier('Foo', new IdentifierType(IdentifierType::IDENTIFIER_CLASS));
$locator1->expects($this->once())->method('locateIdentifier');
$locator2->expects($this->once())->method('locateIdentifier');
$this->assertNull((new AggregateSourceLocator([$locator1, $locator2]))->locateIdentifier($this->getMockReflector(), $identifier));
}