SubjectWithAfterWordRegistration

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.

class Object
trait Matchable
class Any

Value members

Abstract methods

def apply(subject: String, verb: String, resultOfAfterWordApplication: ResultOfAfterWordApplication, pos: Position): Unit

Registers a subject description in WordSpec and fixture.WordSpec.

Registers a subject description in WordSpec and fixture.WordSpec.

For example, this class enables syntax such as the following in WordSpec and fixture.WordSpec:

"A Stack (when empty)" should { ...
                      ^