public function setUp() { parent::setUp(); $this->sampleLocale = new Locale('en_GB'); $this->mockObjectManagerReturnValues[Locale::class] = $this->sampleLocale; $this->mockDatetimeParser = $this->createMock(I18n\Parser\DatetimeParser::class); }