Example #1
0
 function testBoolean()
 {
     $this->assert(Argument::boolean()->accepts(new BooleanArgument()));
     $this->assert(Argument::boolean()->accepts(new ExactArgument(true)));
     $this->assert->not(Argument::boolean()->accepts(new ExactArgument('true')));
 }