'If subunit is not installed, TestProtocolClient will be None, and
SubunitReporter will raise an error when you try to construct it.'

def test_subunitNotInstalled(self):

    stream = NativeStringIO()
    self.patch(reporter, 'TestProtocolClient', None)
    e = self.assertRaises(Exception, reporter.SubunitReporter, stream)
    self.assertEqual('Subunit    not    available', str(e))
