public void GenerateIntegerSingle()
        {
            var mockSuit           = new Mock <Suit>();
            var primitiveGenerator = new PrimitiveGenerator(mockSuit.Object);

            mockSuit.Setup(i => i.GeneratePrimitive <int>("test", It.IsAny <ISessionManager>()))
            .Returns(10);

            var result = primitiveGenerator.Integer("test");

            Assert.Equal(10, result);
            mockSuit.Verify(i => i.GeneratePrimitive <int>("test", It.IsAny <ISessionManager>()));
        }
        public void GenerateIntegerList(int times)
        {
            var mockSuit           = new Mock <Suit>();
            var primitiveGenerator = new PrimitiveGenerator(mockSuit.Object);

            mockSuit.Setup(i => i.GeneratePrimitive <int>("test", It.IsAny <ISessionManager>()))
            .Returns(10);

            var result = primitiveGenerator.Integer("test", count: times);

            Assert.All(result,
                       i => Assert.Equal(10, i));

            mockSuit.Verify(i => i.GeneratePrimitive <int>("test", It.IsAny <ISessionManager>()), Times.Exactly(times));
        }