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