'A new MultiFileGet can be started when the locking flow has finished.'

def testVFSFileStartsNewMultiGetFileWhenLockingFlowHasFinished(self):

    client_id = self.SetupClients(1)[0]
    fixture_test_lib.ClientFixture(client_id, token=self.token)
    path = 'fs/os/c/bin/bash'
    with aff4.FACTORY.Create(client_id.Add(path), aff4_type=aff4_grr.VFSFile, mode='rw', token=self.token) as file_fd:
        first_update_flow_urn = file_fd.Update()
    flows_fd = aff4.FACTORY.Open(client_id.Add('flows'), token=self.token)
    flows = list(flows_fd.ListChildren())
    self.assertEqual(len(flows), 1)
    client_mock = action_mocks.ActionMock()
    for _ in flow_test_lib.TestFlowHelper(flows[0], client_mock, client_id=client_id, token=self.token):
        pass
    second_update_flow_urn = file_fd.Update()
    flows_fd = aff4.FACTORY.Open(client_id.Add('flows'), token=self.token)
    flows = list(flows_fd.ListChildren())
    self.assertEqual(len(flows), 2)
    self.assertNotEqual(first_update_flow_urn, second_update_flow_urn)
    self.assertEqual(second_update_flow_urn, file_fd.Get(file_fd.Schema.CONTENT_LOCK))
