getMockBuilder($className)->disableOriginalConstructor()->getMock(); } public function mockConfig() { return new ConfigMock(); } } date_default_timezone_set('UTC');