"</span><span class="p">)))</span>
</code></pre>
<h3 id='a-name-example1-2-a-simple-protocol-with-methods-optional-attributes' class='heading'><a name="example1.2"></a> Simple protocol with methods - optional attributes</h3>

<p>When handling optional attributes, it requires to register types in Matcher, in order to perform proper check of attributes values (for now - will simplify that in 2.0). As long as you are using Parameter.value - you should register its type.</p>

<p>Protocol definition:</p>
<pre cl