org.scalatest.fixture.FixtureFlatSpec

class BehaviorWord

[source: org/scalatest/fixture/FixtureFlatSpec.scala]

protected final class BehaviorWord
extends AnyRef
Class that supports the registration of a “subject” being specified and tested via the instance referenced from FixtureFlatSpec'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 FlatSpec.

Method Summary
def of (description : java.lang.String) : Unit
Supports the registration of a “subject” being specified and tested via the instance referenced from FixtureFlatSpec's behavior field.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def of(description : java.lang.String) : Unit
Supports the registration of a “subject” being specified and tested via the instance referenced from FixtureFlatSpec'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 FlatSpec.



Copyright (C) 2001-2010 Artima, Inc. All rights reserved.