'``RestartOnFailure.__init__`` raises ``ValueError`` if the specified
maximum retry count is negative.'

def test_maximum_retry_count_not_negative(self):

    self.assertRaises(InvariantException, RestartOnFailure, maximum_retry_count=(-1))
