public void ListCampaignsTest()
        {
            var result = new CampaignsResponseResult()
            {
                campaignKey = "TEST1234",
                name = "hello",
                published = true,
            };

            MockHttpClient.Expect(
                x =>
                x.ListCampaigns())
                .Return(new CampaignsResponse()
                {
                    statusCode = 200,
                    statusMessage = "test campaign status message",
                    statusTime = DateTime.UtcNow,
                    count = 1,
                    results = new List<CampaignsResponseResult> {
                        result
                    }
                });

            CampaignsResponse response = MockHttpClient.ListCampaigns();
            Assert.AreEqual(200, response.statusCode);
            Assert.AreEqual(1, response.count);
            Assert.AreEqual("test campaign status message", response.statusMessage);
            Assert.AreEqual("TEST1234", response.results[0].campaignKey);
        }
 public MessageBusCampaignListItem(CampaignsResponseResult result)
 {
     CampaignName = result.name;
     CampaignKey = result.campaignKey;
     IsPublished = result.published;
 }