def METHOD_NAME(self) -> None:
    """
    Test Publish functionality with no data
    """
    with patch('builtins.open', mock_open(read_data='')) as mock_file:
        publisher = ElasticsearchPublisher()
        publisher.init(conf=Scoped.get_scoped_conf(conf=self.conf,
                                                   scope=publisher.get_scope()))
        # assert mock was called with test_file_path and test_file_mode
        mock_file.assert_called_with(self.test_file_path, self.test_file_mode)
        publisher.publish()
        # no calls should be made through elasticseach_client when there is no data
        self.assertTrue(self.mock_es_client.call_count == 0)