Ejemplo n.º 1
0
        public void FromPath_WithPath_IdAndPathSetCorrectly()
        {
            var identifier = _provider.IdFor(_uncompressedId);

            Assert.That(identifier.Id, Is.EqualTo(_compressedId));
        }
Ejemplo n.º 2
0
 private TResourceType ToPhysicalResource <TResourceType>(string subdir) where TResourceType : PhysicalResource, new()
 {
     return(new TResourceType {
         Identifier = _identityStore.IdFor(subdir)
     });
 }