'Files created in a bind mount are visible in the original folder and
vice versa.'

def test_bind_mount(self):

    src_directory = self._get_directory_for_mount()
    target_directory = self._get_directory_for_mount()
    self.manager_under_test.bind_mount(src_directory, target_directory)
    self.addCleanup(self.manager_under_test.unmount, target_directory)
    for (create, view) in [(target_directory, src_directory), (src_directory, target_directory)]:
        filename = str(uuid4())
        new_file = create.child(filename)
        new_file.touch()
        self.expectThat(view.child(filename).path, FileExists(), 'Created    file    not    visible    through    bind    mount.')
