public void TripShouldNotBeFull() { const int pledgeCampaignId = 12345456; const string apiToken = "980osjklhdfdf"; var campaign = mockPledgeCampaign(); _apiUserReposity.Setup(m => m.GetToken()).Returns(apiToken); _campaignService.Setup(m => m.GetPledgeCampaign(pledgeCampaignId, apiToken)).Returns(campaign); _pledgeService.Setup(m => m.GetPledgesByCampaign(pledgeCampaignId, apiToken)).Returns(mockPledges(campaign)); var tripCampaign = _fixture.GetTripCampaign(pledgeCampaignId); _apiUserReposity.VerifyAll(); _campaignService.VerifyAll(); _pledgeService.VerifyAll(); Assert.IsFalse(tripCampaign.IsFull); }