lithium\tests\cases\g11n\CatalogTest::testInvalidWrite PHP Method

testInvalidWrite() public method

public testInvalidWrite ( )
    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);
        });
    }