On some blogs, I read that singleton interferes with testing because it causes high coupling , and mocks cannot be replaced instead, so the solution is to implement the interface and pass it in arguments. I have no links to blogs, and I will attach them as soon as I find them. But due to the static getInstance() method, this is not possible.
So, is there an advantage to implementing an interface in a Singleton template?
public interface SingletonInterface{
source share