private function assertTestsQueueIsNotEmpty(TestsQueue $testsQueue) { if ($testsQueue->isEmpty()) { throw new \Exception('Empty input try piping some files.'); } }