public function testSubjectInPayloadOnly()
{
$subjectClaim = $this->getMockBuilder('Emarref\\Jwt\\Claim\\Subject')->getMock();
$subjectClaim->expects($this->once())->method('getValue')->will($this->returnValue('a_subject'));
$this->token->expects($this->once())->method('getPayload')->will($this->returnValue($this->payload));
$this->payload->expects($this->once())->method('findClaimByName')->with(Claim\Subject::NAME)->will($this->returnValue($subjectClaim));
$verifier = new SubjectVerifier();
$verifier->verify($this->token);
}