A simple class that allow you mock global functions