# Summary

Class: | WireMock.Validation.CoreStrings
Assembly: | WireMock.Net
File(s): | C:\Users\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Validation\CoreStrings.cs
Covered lines: | 0
Uncovered lines: | 12
Coverable lines: | 12
Total lines: | 43
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\Stef\Documents\GitHub\WireMock.Net\src\WireMock.Net\Validation\CoreStrings.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | `using System.Globalization;`
|  | `3` |  | `using JetBrains.Annotations;`
|  | `4` |  | ``
|  | `5` |  | `// copied from https://github.com/aspnet/EntityFramework/blob/dev/src/Microsoft.EntityFrameworkCore/Properties/CoreStrin`
|  | `6` |  | `namespace WireMock.Validation`
|  | `7` |  | `{`
|  | `8` |  | `// [ExcludeFromCodeCoverage]`
|  | `9` |  | `internal static class CoreStrings`
|  | `10` |  | `{`
|  | `11` |  | `/// <summary>`
|  | `12` |  | `/// The property '{property}' of the argument '{argument}' cannot be null.`
|  | `13` |  | `/// </summary>`
|  | `14` |  | `public static string ArgumentPropertyNull([CanBeNull] string property, [CanBeNull] string argument)`
| 0 | `15` |  | `{`
| 0 | `16` |  | `return string.Format(CultureInfo.CurrentCulture, $"The property '{property}' of the argument '{argument}' ca`
| 0 | `17` |  | `}`
|  | `18` |  | ``
|  | `19` |  | `/// <summary>`
|  | `20` |  | `/// The string argument '{argumentName}' cannot be empty.`
|  | `21` |  | `/// </summary>`
|  | `22` |  | `public static string ArgumentIsEmpty([CanBeNull] string argumentName)`
| 0 | `23` |  | `{`
| 0 | `24` |  | `return string.Format(CultureInfo.CurrentCulture, $"The string argument '{argumentName}' cannot be empty.", a`
| 0 | `25` |  | `}`
|  | `26` |  | ``
|  | `27` |  | `/// <summary>`
|  | `28` |  | `/// The entity type '{type}' provided for the argument '{argumentName}' must be a reference type.`
|  | `29` |  | `/// </summary>`
|  | `30` |  | `public static string InvalidEntityType([CanBeNull] Type type, [CanBeNull] string argumentName)`
| 0 | `31` |  | `{`
| 0 | `32` |  | `return string.Format(CultureInfo.CurrentCulture, $"The entity type '{type}' provided for the argument '{argu`
| 0 | `33` |  | `}`
|  | `34` |  | ``
|  | `35` |  | `/// <summary>`
|  | `36` |  | `/// The collection argument '{argumentName}' must contain at least one element.`
|  | `37` |  | `/// </summary>`
|  | `38` |  | `public static string CollectionArgumentIsEmpty([CanBeNull] string argumentName)`
| 0 | `39` |  | `{`
| 0 | `40` |  | `return string.Format(CultureInfo.CurrentCulture, $"The collection argument '{argumentName}' must contain at`
| 0 | `41` |  | `}`
|  | `42` |  | `}`
|  | `43` |  | `}`

# Methods/Properties

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