public function testReturnsNullWhenSourceDoesNotContainClass()
{
$fileName = __DIR__ . '/../../Fixture/NoNamespace.php';
$locator = new SingleFileSourceLocator($fileName);
$this->assertNull($locator->locateIdentifier($this->getMockReflector(), new Identifier('does not matter what the class name is', new IdentifierType(IdentifierType::IDENTIFIER_CLASS))));
}