/** * @depends initialize */ public function testMapReduceUpdate($userPk) { $this->sut->execute(); $user = $this->repository->findByPk($userPk); $this->assertEquals(3, $user->getProfile()->publishingCounter); }