< Summary

Information
Class: Syki.Back.Features.Cross.CreatePendingUserRegister.CreatePendingUserRegisterErrorsExamples
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Cross/CreatePendingUserRegister/CreatePendingUserRegisterErrorsExamples.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 10
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Cross/CreatePendingUserRegister/CreatePendingUserRegisterErrorsExamples.cs

#LineLine coverage
 1namespace Syki.Back.Features.Cross.CreatePendingUserRegister;
 2
 3public class CreatePendingUserRegisterErrorsExamples : IMultipleExamplesProvider<ErrorOut>
 4{
 5    public IEnumerable<SwaggerExample<ErrorOut>> GetExamples()
 6    {
 07        yield return new InvalidEmail().ToSwaggerExampleErrorOut();
 08        yield return new EmailAlreadyUsed().ToSwaggerExampleErrorOut();
 09    }
 10}

Methods/Properties

GetExamples()