title: AutoMocking classes with non-interface dependencies... Does a framework support this?
body: <p>I am trying to mock a class that has a dependency on a concrete class, just like:</p>
  
  <p><a href="https://stackoverflow.com/questions/2462340/automockcontainer-with-support-for-automocking-classes-with-non-interface-depend">AutoMockContainer with support for automocking classes with non-interface dependencies</a></p>
  
  <p>I tried 3 different AutoMocking Frameworks (UnityAutoMoq, AutoMoq and AutoMockContainer contained in Moq.Contrib).  None of these frameworks support creating mocks for concrete dependencies.  I understand Mark Seeman has given an example on how to do this with autofac, but I don't understand why it's not supported out of the box from these frameworks.  Is there a framework that supports this that I didn't try ?  If not, can someone help me to do this with Unity ?</p>
  
  <p>Me and a colleague have banged our heads against this all day long without finding an answer, any help would be greatly appreciated.</p>