Example #1
0
 /**
  * Test the should-repeat getter
  *
  * @param boolean $bExpected
  * @param mixed $mRepeatValue
  *
  * @dataProvider shouldRepeatProvider
  */
 public function testShouldRepeat($bExpected, $mRepeatValue = null)
 {
     $this->_oConfig->repeat = $mRepeatValue;
     $this->assertInstanceOf('\\Testy\\Project', $this->_object->config($this->_oConfig));
     $this->assertEquals($bExpected, $this->_object->shouldRepeat());
 }