protected static function factory() { static $factory = null; if (!$factory) { $factory = new \WP_UnitTest_Factory(); } return $factory; }