Summary

Class:WireMock.Validation.CoreStrings
Assembly:WireMock.Net
File(s):C:\Users\StefHeyenrath\Documents\GitHub\WireMock.Net\src\WireMock.Net\Validation\CoreStrings.cs
Covered lines:0
Uncovered lines:12
Coverable lines:12
Total lines:41
Line coverage:0%

Metrics

MethodCyclomatic complexity NPath complexity Sequence coverage Branch coverage
ArgumentPropertyNull(...)0000
ArgumentIsEmpty(...)0000
InvalidEntityType(...)0000
CollectionArgumentIsEmpty(...)0000

File(s)

C:\Users\StefHeyenrath\Documents\GitHub\WireMock.Net\src\WireMock.Net\Validation\CoreStrings.cs

#LineLine coverage
 1using System;
 2
 3// copied from https://github.com/aspnet/EntityFramework/blob/dev/src/Microsoft.EntityFrameworkCore/Properties/CoreStrin
 4namespace WireMock.Validation
 5{
 6    // [ExcludeFromCodeCoverage]
 7    internal static class CoreStrings
 8    {
 9        /// <summary>
 10        /// The property '{property}' of the argument '{argument}' cannot be null.
 11        /// </summary>
 12        public static string ArgumentPropertyNull(string property, string argument)
 013        {
 014            return $"The property '{property}' of the argument '{argument}' cannot be null.";
 015        }
 16
 17        /// <summary>
 18        /// The string argument '{argumentName}' cannot be empty.
 19        /// </summary>
 20        public static string ArgumentIsEmpty(string argumentName)
 021        {
 022            return $"The string argument '{argumentName}' cannot be empty.";
 023        }
 24
 25        /// <summary>
 26        /// The entity type '{type}' provided for the argument '{argumentName}' must be a reference type.
 27        /// </summary>
 28        public static string InvalidEntityType(Type type, string argumentName)
 029        {
 030            return $"The entity type '{type}' provided for the argument '{argumentName}' must be a reference type.";
 031        }
 32
 33        /// <summary>
 34        /// The collection argument '{argumentName}' must contain at least one element.
 35        /// </summary>
 36        public static string CollectionArgumentIsEmpty(string argumentName)
 037        {
 038            return $"The collection argument '{argumentName}' must contain at least one element.";
 039        }
 40    }
 41}