'Should register specified function for atexit processing.'

def test_registers_function_for_atexit_processing(self):

    func = object()
    expect_mock_output = ('                                                Called    atexit.register(%(func)r)\n                                                ' % vars())
    daemon.daemon.register_atexit_function(func)
    self.failUnlessMockCheckerMatch(expect_mock_output)
