public void the_content_is_written_to_the_stream() { var codec = new JsonDataContractCodec(); var stub = new InMemoryResponse(); codec.WriteTo(new Customer { Name = "hello" }, stub.Entity, null); stub.Entity.Stream.Position.ShouldNotBe(0); }
public void the_content_is_written_to_the_stream() { var codec = new JsonDataContractCodec(); var stub = new InMemoryResponse(); codec.WriteTo(new Customer { Name = "hello" }, stub.Entity, null); stub.Entity.Stream.Position.ShouldNotBe(0); }