BehaviorWord

final protected class BehaviorWord

Class that supports the registration of a “subject” being specified and tested via the instance referenced from FixtureAsyncFlatSpec's behavior field.

This field enables syntax such as the following subject registration:

behavior of "A Stack"
^

For more information and examples of the use of the behavior field, see the main documentation for trait AnyFlatSpec.

class Object
trait Matchable
class Any

Value members

Concrete methods

infix inline def of(description: String): Unit

Supports the registration of a “subject” being specified and tested via the instance referenced from FixtureAsyncFlatSpec's behavior field.

Supports the registration of a “subject” being specified and tested via the instance referenced from FixtureAsyncFlatSpec's behavior field.

This method enables syntax such as the following subject registration:

behavior of "A Stack"
        ^

For more information and examples of the use of this method, see the main documentation for trait AnyFlatSpec.

Value parameters:
description

the description text