Added JsonTester

Added LicenserTester
Added SqliteCacheTester
Updated EnvTester
Updated LoggerTester
This commit is contained in:
2025-02-27 20:24:38 +01:00
parent d2ac9710f0
commit b85fa5a6b9
15 changed files with 232 additions and 6 deletions

26
LicenserTester/Program.cs Normal file
View File

@@ -0,0 +1,26 @@

using EonaCat.Json;
using EonaCat.Mocking;
using System;
namespace EonaCat.Tester.Mocking
{
public static class MockTest
{
public static void Main(string[] args)
{
var user = new MockHelper().Generate<User>();
Console.WriteLine(JsonHelper.ToJson(user));
}
}
public class User
{
public string Name { get; set; }
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public DateTime BirthDate { get; set; }
public string CompanyName { get; set; }
}
}