org.specs.mock

trait ClassMocker

[source: org/specs/mock/ClassMocker.scala]

trait ClassMocker
extends Imposterizer
This trait allows to mock classes instead of interfaces only. This will require the cglib and objenesis libraries on the path.
Method Summary
override def createMockery : org.jmock.Mockery
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
override def createMockery : org.jmock.Mockery
Overrides
Imposterizer.createMockery


Copyright (c) 2007-2008. All Rights Reserved.