public function testProcessLogout($firewall) { UserProviderMock::$returnLoginObject = true; $result = $firewall->processLogin('MockProvider'); $this->assertTrue($result); $result = $firewall->processLogout(); $this->assertTrue($result); }