code: def test_lognormal_sampling():
      # Right now, only density function and sampling works
      scipy = import_module("scipy")
      if not scipy:
          skip("Scipy is not installed. Abort tests")
      for i in range(3):
          X = LogNormal("x", i, 1)
          assert sample(X) in X.pspace.domain.set
  
      size = 5
      samps = sample(X, size=size)
      for samp in samps:
          assert samp in X.pspace.domain.set
  
file_path: sympy/sympy/stats/sampling/tests/test_sample_continuous_rv.py
imports: from sympy.core.numbers import oo
  from sympy.core.symbol import Symbol
  from sympy.functions.elementary.exponential import exp
  from sympy.sets.sets import Interval
  from sympy.external import import_module
  from sympy.stats import Beta, Chi, Normal, Gamma, Exponential, LogNormal, Pareto, ChiSquared, Uniform, sample, BetaPrime, Cauchy, GammaInverse, GaussianInverse, StudentT, Weibull, density, ContinuousRV, FDistribution, Gumbel, Laplace, Logistic, Rayleigh, Triangular
  from sympy.testing.pytest import skip, raises
label_desc: Use image node_id 5 for calling a global function with example usage: test_lognormal_sampling() without return types