Example #1
0
 /**
  * Test the getter/setter for the Cast instance
  *
  * @covers \Psecio\Iniscan\Rule::getCast
  * @covers \Psecio\Iniscan\Rule::setCast
  */
 public function testGetSetCast()
 {
     $cast = new \Psecio\Iniscan\Cast();
     $rule = new Rule(array(), 'testing');
     $rule->setCast($cast);
     $this->assertInstanceOf('\\Psecio\\Iniscan\\Cast', $rule->getCast());
 }