Hackzilla\PasswordGenerator\Tests\Model\CharacterSetTest::testConstructCast PHP Method

testConstructCast() public method

public testConstructCast ( $characters, $result )
$characters
$result
    public function testConstructCast($characters, $result)
    {
        $characterSet = new CharacterSet($characters);
        $this->assertSame($result, $characterSet->__toString());
        $this->assertSame($result, (string) $characterSet);
    }