title: TestFx - How to test javaFx MenuItems
body: <p>Since MenuItem is not a Node, I'm not able to look it up. How do I test, if some MenuItem is disabled? 
  I've tried to look it up as it was a node and it returned me something, which looks like this..</p>
  
  <p>(toString representation of returned object):</p>
  
  <p>(ContextMenuContent$MenuItemContainer[id=mnEditHrom, styleClass=menu-item])</p>
  
  <p>But i can't cast MenuItem on that, it says "Node cannot be converted to MenuItem" and when I call isDisabled() function on what was returned, i get incorrect information.</p>
  
  <p>Lets say I have MenuItem with "mnEdit" id, which is disabled. When i call</p>
  
  <pre><code>find("#mnEdit").isDisabled();
  </code></pre>
  
  <p>it returns false. Find method looks like this:</p>
  
  <pre><code>public &lt;T extends Node&gt; T find(String query) 
  {
    return (T) lookup(query).queryAll().iterator().next();
  } 
  </code></pre>
  
  <p>So again, how do I test whether some MenuItem is disabled or not in testFx?</p>