abstract class StringVerbBehaveLikeInvocation extends AnyRef
Class that provides a role-specific type for an implicit conversion used to support
the registration of subject descriptions in FlatSpec
and FreeSpec
styles.
For example, this class enables syntax such as the following in WordSpec
and fixture.WordSpec
:
"A Stack (when empty)" should { ...
^
This should
method, which is provided in ShouldVerb
, needs an implicit parameter
of type StringVerbBlockRegistration
.
- Alphabetic
- By Inheritance
- StringVerbBehaveLikeInvocation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new StringVerbBehaveLikeInvocation()
Abstract Value Members
-
abstract
def
apply(subject: String, pos: Position): BehaveWord
Registers a subject description in
WordSpec
andfixture.WordSpec
.Registers a subject description in
WordSpec
andfixture.WordSpec
.For example, this class enables syntax such as the following in
WordSpec
andfixture.WordSpec
:"A Stack (when empty)" should { ... ^