tests: adding missing tests for newly introduced classes

This commit is contained in:
Stevan Freeborn
2025-06-15 11:49:48 -05:00
parent 98da1384c1
commit 0c62a7cfcc
12 changed files with 190 additions and 0 deletions
+15
View File
@@ -29,4 +29,19 @@ public abstract class Citation
/// </summary>
[JsonPropertyName("document_title")]
public string DocumentTitle { get; init; } = string.Empty;
[JsonConstructor]
internal Citation()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="Citation"/> class with a specified type.
/// </summary>
/// <param name="type">The type of the citation.</param>
/// <returns>A new instance of <see cref="Citation"/>.</returns>
protected Citation(string type)
{
Type = type;
}
}