org.specs.mock

object JMocker

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

object JMocker
extends JMocker
This object can be used to import and rename some functions in case of a conflict with some other trait. For example the trait Suite in ScalaTest uses an expect method too
Values and Variables inherited from JMockerContext
context, expectations
Values and Variables inherited from ExampleLifeCycle
sequential, example
Methods inherited from JMocker
mock, mock, as, as, as, expect, intToCallConstraint, RangeToCallConstraint, one, exactly, atLeast, between, atMost, allowing, allowingMatch, allowingMatch, allowing, ignoring, ignoring, ignoringMatch, ignoringMatch, never, with, anyInt, anyLong, anyShort, anyBoolean, anyFloat, anyDouble, anyChar, anyByte, anyString, any, a, an, aNull, aNonNull, equal, same, will, will, toAction, will, state, when, then, afterCall, inSequence, after
Methods inherited from JMockActions
returnValue, throwEx, doAll, onConsecutiveCalls
Methods inherited from HamcrestMatchers
anything, withName
Methods inherited from JMockerExampleLifeCycle
beforeExample, executeTest, afterTest
Methods inherited from JMockerContext
restart, checkContext
Methods inherited from Imposterizer
createMockery
Methods inherited from ExampleLifeCycle
isSequential, setSequential, beforeTest, afterExample
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

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