public function testSiteNotifications() { $this->assertTrue($this->user->getSiteNotifications(), 'Site notifications are enabled by default'); $this->user->setSiteNotifications(false); $this->assertFalse($this->user->getSiteNotifications()); }