using Stef.Validation;
using WireMock.Server;

// ReSharper disable once CheckNamespace
namespace WireMock.FluentAssertions
{
    public class WireMockANumberOfCallsAssertions
    {
        private readonly IWireMockServer _server;
        private readonly int _callsCount;

        public WireMockANumberOfCallsAssertions(IWireMockServer server, int callsCount)
        {
            _server = Guard.NotNull(server);
            _callsCount = callsCount;
        }

        public WireMockAssertions Calls()
        {
            return new WireMockAssertions(_server, _callsCount);
        }
    }
}