'Should set signal handlers according to `signal_map`.'

def test_sets_signal_handlers_from_signal_map(self):

    instance = self.test_instance
    instance.signal_map = object()
    expect_signal_handler_map = self.test_signal_handler_map
    expect_mock_output = ('                                                ...\n                                                Called    daemon.daemon.set_signal_handlers(\n                                                                %(expect_signal_handler_map)r)\n                                                ...\n                                                ' % vars())
    instance.open()
    self.failUnlessMockCheckerMatch(expect_mock_output)
