public function testSetters()
 {
     $authenticationServiceMock = $this->getMock('UghAuthentication\\Authentication\\AuthenticationServiceInterface');
     $authenticationValidator = new Authentication();
     $authenticationValidator->setService($authenticationServiceMock);
     $authenticationValidator->setIdentity('username');
     $authenticationValidator->setCredential('credential');
     $this->assertSame($authenticationValidator->getService(), $authenticationServiceMock);
     $this->assertSame($authenticationValidator->getIdentity(), 'username');
     $this->assertSame($authenticationValidator->getCredential(), 'credential');
 }