Ogone\Tests\HashAlgorithmTest::CanBeRepresentedAsString PHP Method

CanBeRepresentedAsString() public method

    public function CanBeRepresentedAsString()
    {
        $sha1 = new HashAlgorithm(HashAlgorithm::HASH_SHA1);
        $this->assertEquals(HashAlgorithm::HASH_SHA1, (string) $sha1);
    }