Ejemplo n.º 1
0
 /**
  * Tests validate properly verifies that remove commands require the context
  *
  * @dataProvider getLocalNodeConnection
  *
  * @param $riak \Basho\Riak
  *
  * @expectedException \Basho\Riak\Command\Builder\Exception
  */
 public function testValidateRemove($riak)
 {
     $builder = new Command\Builder\UpdateSet($riak);
     $builder->remove('some_element');
     $command = $builder->build();
 }