GetObjectByLocalPath() public method

public GetObjectByLocalPath ( string localPath ) : IFileTransmissionObject
localPath string
return IFileTransmissionObject
 public void GetObjectByLocalPath() {
     var storage = new FileTransmissionStorage(this.engine);
     this.remoteFile.Setup(m => m.Id).Returns("RemoteObjectId");
     var obj = new FileTransmissionObject(TransmissionType.UPLOAD_NEW_FILE, this.localFile.Object, this.remoteFile.Object);
     Assert.DoesNotThrow(() => storage.SaveObject(obj));
     Assert.That(storage.GetObjectByLocalPath(this.localFile.Object.FullName).RemoteObjectId, Is.EqualTo("RemoteObjectId"));
     Assert.That(storage.GetObjectByLocalPath(this.localFile.Object.FullName + ".temp"), Is.Null);
 }