Using PHPUnit, I would like to test that a Class CANNOT be instantiated using the __construct [ new Class(); ] method as well as cannot be cloned, woken up etc.
Basically it is a Singleton class, and the __construct, __clone and __wakeup methods set to private to make sure it remains a Singleton.
But how can I test for that?