/**
  * @expectedException \RuntimeException
  */
 public function test_Validate_Fails()
 {
     $operation = new Operation();
     $operation->setType('foo');
     $operation->validate();
 }