title: How can I use Moose with Test::Class?
body: <p>I'm currently refactoring a test suite built up by a colleague and would like to use <code>Test::Class[::Most]</code> while doing so. As I started I figured out I could really use a couple of <code>Moose</code> roles to decouple code a little bit. However, it seems it's not quite possible -- I'm getting error messages like this one:</p>
  
  <pre><code>Prototype mismatch: sub My::Test::Class::Base::blessed: none vs ($) at
  /usr/lib/perl5/vendor_perl/5.8.8/Sub/Exporter.pm line 896
  </code></pre>
  
  <p>So the question is: can I use <code>Moose</code> together with <code>Test::Class</code> and if so, how?</p>
  
  <p>PS: The code goes like this:</p>
  
  <pre><code>package My::Test::Class::Base;
  use Moose;
  use Test::Class::Most;
  
  with 'My::Cool::Role';
  
  has attr =&gt; ( ... );
  </code></pre>