<?php

namespace LifeStyle\SamlAuthBundle\Security\Authentication\Token;

use PHPUnit\Framework\TestCase;

class SamlTokenTest extends TestCase
{
    public function testToken()
    {
        $token = new SamlToken();
        $this->assertFalse($token->isAuthenticated());
        $this->assertEquals('', $token->getCredentials());

        $token = new SamlToken(['TestRole']);
        $this->assertTrue($token->isAuthenticated());
    }
}
