 
 BEGIN_MIDI_NAMESPACE
 
+template<class SerialClass>
 class TestFixture
 {
 public:
     typedef const char* String;
-    typedef bool (*Functor) (void);
+    typedef bool (*Functor) (MidiInterface<SerialClass>&);
     
 public:
     TestFixture(String inTestName, 

    }
    
private:
    MidiInterface<SerialPort>& mInstance;
    TestFixture* mTests[NUM_TESTS];
    unsigned mNumActiveTests;
};

// -----------------------------------------------------------------------------

bool testNoteOn()
{
    return true;
}



// -----------------------------------------------------------------------------

template<class SerialClass>
class MidiTester
{
public:
    explicit MidiTester(MidiInterface<SerialClass>& inInstance)
        : mInstance(inInstance)
    {
    }
