public void WhenGettingExistingProfile_ThenProfileManifestIsReturned()
        {
            var reader  = new XmlProfileManifestRepository("ClientProfile\\", (path) => path);
            var profile = reader.GetProfile("Generic");

            Assert.NotNull(profile);
        }
        public void WhenGettingUnexistingProfile_ThenFileNotFoundExceptionIsThrown()
        {
            var reader = new XmlProfileManifestRepository("invalid", (path) => path);

            Assert.Throws <FileNotFoundException>(() => reader.GetProfile("Generic"));
        }