public void testPipesAreStupid ()
{
Pipe p1 = new StupidPipe ();
Pipe p2 = new SimpleTaggerSentence2TokenSequence ();
// initialize p2's dict
p2.instanceFrom(new Instance (data, null, null, null));
Pipe serial = new SerialPipes (new Pipe[] { p1, p2 });
try {
serial.getDataAlphabet ();
assertTrue ("Test failed: Should have generated exception.", false);