using eSuite.Core.Clock;

namespace e_suite.UnitTestCore;

public class FakeClock : IClock
{
    /// <summary>
    /// You can set the date and time using this property.
    /// </summary>
    public DateTimeOffset DateTime { get; set; } = DateTimeOffset.UtcNow;

    /// <summary>
    /// The application will user this to get the current date and time.
    /// </summary>
    public DateTimeOffset GetNow => DateTime;
}