public function getTargetBySourceLogsSilentlyIfNoTransUnitsArePresent()
{
$this->mockXliffParser = $this->createMock(I18n\Xliff\XliffParser::class);
$this->mockXliffParser->expects($this->once())->method('getParsedData')->will($this->returnValue([]));
$mockLogger = $this->getMockBuilder(LoggerInterface::class)->disableOriginalConstructor()->getMock();
$mockLogger->expects($this->once())->method('log')->with($this->stringStartsWith('No trans-unit elements were found'), LOG_DEBUG);
$this->model->injectParser($this->mockXliffParser);
$this->inject($this->model, 'i18nLogger', $mockLogger);
$this->model->initializeObject();
$this->model->getTargetBySource('foo');
}