Summary

Class:FakeXrmEasy.FakeOrganizationServiceFault
Assembly:FakeXrmEasy
File(s):C:\code\jordimontana82\fake-xrm-easy\FakeXrmEasy.Shared\FakeOrganizationServiceFault.cs
Covered lines:2
Uncovered lines:0
Coverable lines:2
Total lines:13
Line coverage:100%

Metrics

MethodCyclomatic ComplexitySequence CoverageBranch Coverage
Throw(...)1100100

File(s)

C:\code\jordimontana82\fake-xrm-easy\FakeXrmEasy.Shared\FakeOrganizationServiceFault.cs

#LineLine coverage
 1using Microsoft.Xrm.Sdk;
 2using System.ServiceModel;
 3
 4namespace FakeXrmEasy
 5{
 6    public class FakeOrganizationServiceFault
 7    {
 8        public static void Throw(ErrorCodes errorCode, string message)
 1369        {
 13610            throw new FaultException<OrganizationServiceFault>(new OrganizationServiceFault() { ErrorCode = (int)errorCo
 11        }
 12    }
 13}