When testing a table, if the first cell of the table refers to a graceful name resolving to a class that does not extend Fixture, then the following message should appear in that cell:
Class fixtureName is not a fixture.
Here is a fitnesse page that should generate the error
The !path must point to fitnesse.jar
WouldBeFixture is a real class, but is not a Fixture
Action fixture
start
Page builder
enter
attributes
Test=true
enter
line
!path lib/*.jar
enter
line
|Import|
enter
line
|fit.testFxtr|
enter
line
enter
line
|Would Be|
enter
page
NotFixturePage
Response Requester
uri
status?
NotFixturePage?test
200
The error message should show up in the response
Response examiner
type
pattern
matches?
contents?
contents
Class fit.testFxtr.WouldBeFixture is not a fixture.