public void InsertOpportunity_Ok() { var jsonOpportunity = @"{ 'opportunityId': 1, 'opportunityName': 'Squad Care alterado', 'opportunityRequirements': '.NET Core', 'desirableRequirements': 'Conhecimento em Kafka', 'dateRegister': '2021-05-05T00:00:00', 'closingDate': '2021-05-05T00:00:00', 'cancellationDate': '2021-05-05T00:00:00', 'opportunityStatus': false, 'career': { 'careerId': 1 }, 'service': { 'serviceId': 1 }, 'professionalLevel': { 'professionalLevelId': 1 }, 'opportunityType': { 'opportunityTypeId': 1 } }"; var opportunity = JsonConvert.DeserializeObject <Opportunity>(jsonOpportunity); var service = new OpportunityService(_opportunityRepositoryMock.Object); service.InsertOpportunity(opportunity); Assert.IsTrue(true); }