title: How to fake delegates with FakeItEasy
body: <p>When i try to fake a delegate-type, i get System.InvalidCastException</p>
  
  <pre><code>[TestMethod]
  public void TestDelegateFake()
  {
      var func = A.Fake&lt;Func&lt;long, object&gt;&gt;();
  
      A.CallTo(() =&gt; func(A&lt;long&gt;.Ignored))
          .Returns(new {});
  
      func(123);
  }
  </code></pre>
  
  <p>How du i fake delegates?</p>