'Should change file creation mask to `umask` option.'

def test_changes_creation_mask_to_umask(self):

    instance = self.test_instance
    umask = object()
    instance.umask = umask
    expect_mock_output = ('                                                ...\n                                                Called    daemon.daemon.change_file_creation_mask(%(umask)r)\n                                                ...\n                                                ' % vars())
    instance.open()
    self.failUnlessMockCheckerMatch(expect_mock_output)
