def test_constructor(self): h = HitProcessorChainLink(self.h1) self.assertEqual(self.h1, h.next_link)
def test_constructor_link(self): h = EmitSamLink(self.map_ctx, self.monitor) self.assertTrue(h.next_link is None) other = HitProcessorChainLink() h = EmitSamLink(self.map_ctx, self.monitor, other) self.assertEqual(other, h.next_link)
def setUp(self): self.h1 = HitProcessorChainLink() self.h2 = HitProcessorChainLink()