On arxiv today the preprint of the work developed in the context of the international collaboration Quantum Information Structure of Spacetime (QISS). Detecting gravity mediated entanglement can provide evidence that the gravitational field obeys quantum mechanics. We report the result of a simulation of the phenomenon using a photonic platform. The simulation tests the idea of probing the quantum nature of a variable by using it to mediate entanglement, and yields theoretical and experimental insights. We employed three methods to test the presence of entanglement: Bell test, entanglement witness and quantum state tomography. We also simulate the alternative scenario predicted by gravitational collapse models or due to imperfections in the experimental setup and use quantum state tomography to certify the absence of entanglement. Two main lessons arise from the simulation: 1) which–path information must be first encoded and subsequently coherently erased from the gravitational field, 2) performing a Bell test leads to stronger conclusions, certifying the existence of gravity mediated nonlocality.