$status->setIsUserDefined(true);
$this->timeFactory->method('getTime')
- ->willReturn(1400);
+ ->willReturn(2600);
$this->mapper->expects($this->once())
->method('findByUserId')
->with('john.doe')
$this->assertEquals($status, $this->service->findByUserId('john.doe'));
$this->assertEquals('offline', $status->getStatus());
- $this->assertEquals(1400, $status->getStatusTimestamp());
+ $this->assertEquals(2600, $status->getStatusTimestamp());
$this->assertFalse($status->getIsUserDefined());
}