/** * it should throw an exception when colon is used in property name * @author Patrick Gotthardt * @test * @expectedException InvalidArgumentException */ public function it_should_throw_an_exception_when_colon_is_used_in_property_name() { pantr::property('test:bar', 'foo'); }
function property($key, $value = null) { return pantr::property($key, $value); }