This commit is contained in:
2022-09-21 16:53:02 +02:00
parent 527ba10c1a
commit 40150215f2
5 changed files with 104 additions and 3 deletions

26
Mocktester/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; }
}
}