public void ShouldGenerateCorrectRdfXmlFromTvShow()
 {
     TvShow show = TvShowTestUtilities.CreateNewTvShow();
     var tvShowRdfConverter = new TvShowRdfXmlConverter();
     string tvShowRdfXml = tvShowRdfConverter.Convert(show);
     string expectedResult = ShowConversionTest.ConvertedRDFFromShow.Replace("\r\n", "\n");
     string result = tvShowRdfXml.Replace("\r\n", "\n");
     Assert.AreEqual(expectedResult, result);
 }
Example #2
0
 public ShowStorage(TvShowRdfXmlConverter tvShowRdfXmlConverter, TripleStore tripleStore)
 {
     this.tvShowRdfXmlConverter = tvShowRdfXmlConverter;
      this.tripleStore = tripleStore;
 }