Exemplo n.º 1
0
        public void DeleteOpportunity_Ok()
        {
            var jsonOpportunity = @"{      
                'OpportunityId': 0
                }";

            var opportunity = JsonConvert.DeserializeObject <Opportunity>(jsonOpportunity);

            var service = new OpportunityService(_opportunityRepositoryMock.Object);

            service.DeleteOpportunity(opportunity);

            Assert.IsTrue(true);
        }