Example #1
0
 public void Should_serialize_into_a_given_stream()
 {
     RdfWriter.Verify(instance => instance.Write(Buffer, It.IsAny <IEnumerable <KeyValuePair <Iri, IEnumerable <Statement> > > >()));
 }
Example #2
0
 public void Should_serialize_statements_grouped_by_graph()
 {
     RdfWriter.Verify(instance => instance.Write(It.IsAny <StreamWriter>(), It.Is <IEnumerable <KeyValuePair <Iri, IEnumerable <Statement> > > >(collection => Match(collection))));
 }