<?php

class Perms_Resolver_DefaultTest extends TikiTestCase
{
	function testAsExpected() {
		$resolver = new Perms_Resolver_Default( true );
		$this->assertTrue( $resolver->check( 'view', array() ) );

		$resolver = new Perms_Resolver_Default( false );
		$this->assertFalse( $resolver->check( 'view', array() ) );
	}
}

