public function testSetScopeId() { $this->securityContext->expects($this->never())->method('getToken'); $this->manager->setScopeId(456); $this->assertEquals(456, $this->manager->getScopeId()); }