< Summary

Information
Class: Syki.Back.Features.Academic.CreateCampus.CreateCampusRequestsExamples
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Academic/CreateCampus/CreateCampusRequestsExamples.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 17
Coverable lines: 17
Total lines: 24
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/Academic/CreateCampus/CreateCampusRequestsExamples.cs

#LineLine coverage
 1namespace Syki.Back.Features.Academic.CreateCampus;
 2
 3public class CreateCampusRequestsExamples : IMultipleExamplesProvider<CreateCampusIn>
 4{
 5    public IEnumerable<SwaggerExample<CreateCampusIn>> GetExamples()
 6    {
 07        yield return SwaggerExample.Create(
 08      "Agreste I",
 09      new CreateCampusIn
 010      {
 011        Name = "Agreste I",
 012        City = "Caruaru - PE",
 013      }
 014    );
 015        yield return SwaggerExample.Create(
 016      "Suassuna I",
 017      new CreateCampusIn
 018      {
 019        Name = "Suassuna I",
 020        City = "Recife - PE",
 021      }
 022    );
 023    }
 24}

Methods/Properties

GetExamples()