public void FromPath_WithPath_IdAndPathSetCorrectly() { var identifier = _provider.IdFor(_uncompressedId); Assert.That(identifier.Id, Is.EqualTo(_compressedId)); }
private TResourceType ToPhysicalResource <TResourceType>(string subdir) where TResourceType : PhysicalResource, new() { return(new TResourceType { Identifier = _identityStore.IdFor(subdir) }); }