trait AsyncJMockCycleFixture extends AnyRef
Trait that will pass a new JMockCycle
into any test that needs one.
This trait, which must be mixed into a fixture.AsyncSuite
, defines the
Fixture
type to be JMockCycle
and defines a
withFixture
method that instantiates a new JMockCycle
and passes it to the test function.
- Self Type
- AsyncJMockCycleFixture with fixture.AsyncTestSuite
- Annotations
- @deprecated
- Deprecated
AsyncJMockCycleFixture has been moved from org.scalatest.jmock to org.scalatestplus.jmock. Please update your imports, as this deprecated type alias will be removed in a future version of ScalaTest.
- Source
- AsyncJMockCycleFixture.scala
- Alphabetic
- By Inheritance
- AsyncJMockCycleFixture
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
FixtureParam = JMockCycle
Defines the
Fixture
type to beJMockCycle
.
Value Members
-
def
withFixture(test: (AsyncJMockCycleFixture.this)#OneArgAsyncTest): FutureOutcome
Instantiates a new
JMockCycle
and passes it to the test function.Instantiates a new
JMockCycle
and passes it to the test function.- test
the test function to which to pass a new
JMockCycle