/**
  * Creates an options asset.
  *
  * @param string $javascriptVariable The javascript variable.
  * @param array  $options            The options.
  */
 public function __construct($javascriptVariable = null, array $options = array())
 {
     parent::__construct($javascriptVariable);
     $this->setOptions($options);
 }
 /**
  * @expectedException \Ivory\GoogleMap\Exception\AssetException
  * @expectedExceptionMessage The prefix of a javascript variable must be a string value.
  */
 public function testPrefixJavascriptVariableWithInvalidPrefix()
 {
     $this->asset->setPrefixJavascriptVariable(true);
 }