/**
  * @test
  */
 public function shouldCreateChecksumForReadOnlySupportToken()
 {
     $tokenChecksum = new TokenChecksum(SignOnMode::asReadOnlySupport(), new Ip('1.1.1.1'), new TokenExpiration(872812810), 'localSalt', 'remoteSalt');
     $this->assertEquals('0293ee31802c975b70f4023da3253c52c123da9f2f5c0f638529f79f0f92bf4cd849ab7ec5b97ef780e5093b505d9075e1f6b36fcd39db0fd38eedd297de9b85', (string) $tokenChecksum);
 }
 /**
  * @test
  */
 public function shouldCreateAsReadOnlySupport()
 {
     $this->assertEquals('0', SignOnMode::asReadOnlySupport());
     $this->assertEquals('1', SignOnMode::asSupport());
     $this->assertEquals('2', SignOnMode::asUser());
 }