< Summary

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

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

Methods/Properties

GetExamples()