public void GetObjectByGuidReturnsSavedObject([Values(true, false)]bool withValidation) {
var storage = new MetaDataStorage(this.engine, Mock.Of<IPathMatcher>(), withValidation);
var uuid = Guid.NewGuid();
var file = new MappedObject("name" , "rootId", MappedObjectType.File, null, "token") { Guid = uuid };
storage.SaveMappedObject(file);
Assert.That(storage.GetObjectByGuid(uuid), Is.EqualTo(file));
}