public function testThrowsExceptionTryingToGetWrongReference()
{
$referenceRepository = new ReferenceRepository($this->getMockSqliteEntityManager());
$this->expectException(\OutOfBoundsException::class);
$this->expectExceptionMessage('Reference to: (missing_reference) does not exist');
$referenceRepository->getReference('missing_reference');
}