Row("select word.spelling from word where word.word_id = 1"){
   value = it.spelling
  }
}
</code></pre>

<p>
Note how the story still uses GroovySQL to talk to the database. Once the word (stored in the value variable) is obtained, it’s time to verify it is there.
</p>

<pre><code>
then "the word bellicose should be returned", {
 value.shouldBe "bellicose"
}
</code></pre>

<p>
Lastly, stopping the database is as easy as sending a shutdown command (via SQL) to the instance of HSQLDB.
</p