Heat oil in a pan. To test if the oil is hot enough, add a tiny piece of dough to the oil and if it bubbles and floats on the surface, your oil is ready for frying. Add the samosas to the oil making sure not to overcrowd the pan, and reduce the flame to a simmer.