public void ActivityStreamSerializer_should_serialize_new_activitystream()
        {
            var serializer = new ActivityStreamSerializer();
            var result     = serializer.SerializeStream(new ActivityStream());

            result.ShouldEqual("{\"totalItems\":0}");
        }
        public void ActivityStreamSerializer_should_serialize_activitystream_object()
        {
            var serializer     = new ActivityStreamSerializer();
            var activityStream = new ActivityStream {
                Items = new[] { new Activity(), new Activity() }, TotalItems = 2
            };
            var result = serializer.SerializeStream(activityStream);

            result.ShouldEqual("{\"totalItems\":2,\"items\":[{\"published\":\"0001-01-01T05:00:00Z\"},{\"published\":\"0001-01-01T05:00:00Z\"}]}");
        }