# Summary

Class: | WireMock.Validation.CoreStrings
Assembly: | WireMock.Net
File(s): | C:\Users\azureuser\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

Method | Cyclomatic complexity | NPath complexity | Sequence coverage | Branch coverage
--- | --- | --- | --- | ---
ArgumentPropertyNull(...) | 1 | 0 | 0 | 0
ArgumentIsEmpty(...) | 1 | 0 | 0 | 0
InvalidEntityType(...) | 1 | 0 | 0 | 0
CollectionArgumentIsEmpty(...) | 1 | 0 | 0 | 0

# File(s)

## C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\Validation\CoreStrings.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | ``
|  | `3` |  | `// copied from https://github.com/aspnet/EntityFramework/blob/dev/src/Microsoft.EntityFrameworkCore/Properties/CoreStrin`
|  | `4` |  | `namespace 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)`
| 0 | `13` |  | `{`
| 0 | `14` |  | `return $"The property '{property}' of the argument '{argument}' cannot be null.";`
| 0 | `15` |  | `}`
|  | `16` |  | ``
|  | `17` |  | `/// <summary>`
|  | `18` |  | `/// The string argument '{argumentName}' cannot be empty.`
|  | `19` |  | `/// </summary>`
|  | `20` |  | `public static string ArgumentIsEmpty(string argumentName)`
| 0 | `21` |  | `{`
| 0 | `22` |  | `return $"The string argument '{argumentName}' cannot be empty.";`
| 0 | `23` |  | `}`
|  | `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)`
| 0 | `29` |  | `{`
| 0 | `30` |  | `return $"The entity type '{type}' provided for the argument '{argumentName}' must be a reference type.";`
| 0 | `31` |  | `}`
|  | `32` |  | ``
|  | `33` |  | `/// <summary>`
|  | `34` |  | `/// The collection argument '{argumentName}' must contain at least one element.`
|  | `35` |  | `/// </summary>`
|  | `36` |  | `public static string CollectionArgumentIsEmpty(string argumentName)`
| 0 | `37` |  | `{`
| 0 | `38` |  | `return $"The collection argument '{argumentName}' must contain at least one element.";`
| 0 | `39` |  | `}`
|  | `40` |  | `}`
|  | `41` |  | `}`

# Methods/Properties

ArgumentPropertyNull(System.String,System.String)
ArgumentIsEmpty(System.String)
InvalidEntityType(System.Type,System.String)
CollectionArgumentIsEmpty(System.String)