it 'creates a request with a OBJECT parameteri alt syntax' do
      detyped_request = described_class.new('/subsystem=jgroups/stack=tcpping:add(transport={type=>TCP, transport=>UDP, test=>abc})').to_detyped_request
      expect(detyped_request).to eq(:operation => 'add', :address => [{ 'subsystem' => 'jgroups' }, { 'stack' => 'tcpping' }], 'transport' => { 'type' => 'TCP', 'transport' => 'UDP', 'test' => 'abc' })