public function testWelcomeNotLoggedInUser()
{
$session = $this->getMockBuilder('Cake\\Network\\Session')->setMethods(['read'])->getMock();
$session->expects($this->at(0))->method('read')->with('Auth.User.id')->will($this->returnValue(null));
$this->User->request = $this->getMockBuilder('Cake\\Network\\Request')->setMethods(['session'])->getMock();
$this->User->request->expects($this->any())->method('session')->will($this->returnValue($session));
$result = $this->User->welcome();
$this->assertEmpty($result);
}