Exemplo n.º 1
0
 /**
  * @expectedException Exception
  * @expectedExceptionMessage Cannot parse instructor for: <<this>_things
  */
 public function testIncompletedConstantInKeyException()
 {
     $advini = new Advini();
     $adapter = new AdviniAdapter($advini);
     $const = new ConstantInstructor();
     $const->setConstants(['this' => 'all', 'ugly' => 'awesome']);
     $keys = ['<<this>_things' => 'space', 'are_<<ugly>' => 'ace'];
     $const->processKey($adapter, $keys);
 }