public function testInvalidWrite() { Catalog::reset(); $this->assertException("Configuration `runtime` has not been defined.", function () { $data = array('house' => array('id' => 'house')); Catalog::write('runtime', 'message', 'de', $data); }); }