Ejemplo n.º 1
0
 /**
  * @expectedException Exception
  * @expectedExceptionMessage Cannot parse instructor for: <<this> is <<ugly>
  */
 public function testIncompletedConstantInValueException()
 {
     $advini = new Advini();
     $adapter = new AdviniAdapter($advini);
     $const = new ConstantInstructor();
     $const->setConstants(['this' => 'all', 'ugly' => 'awesome']);
     $value = '<<this> is <<ugly>';
     $const->processValue($adapter, $value);
 }