function it_should_support_being_constructed_with_a_binary_value() { $tsPropArray = new TSPropertyArray(); $tsPropArray->set('CtxWFProfilePath', 'foo'); $bin = $tsPropArray->toBinary(); $this->beConstructedWith($bin); $this->get('CtxWFProfilePath')->shouldEqual('foo'); }
function it_should_be_constructed_with_a_TSPropertyArray_object() { $tsPropArray = new TSPropertyArray(); $tsPropArray->set('CtxWFProfilePath', 'foobar'); $this->beConstructedWith($tsPropArray); $this->getTSPropertyArray()->shouldEqual($tsPropArray); $this->getDialInData()->shouldBeNull(); }