'Should change root directory to `chroot_directory` option.'

def test_changes_root_directory_to_chroot_directory(self):

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