public void Create_WhenParametersNull_ExpectException()
        {
            // Arrange
            var target = new UuidJsonRequestBuilder();
            target.Build(null);

            // Assert
        }
        public void Create_WhenParametersNotTypeOfUuidParameter_ExpectException()
        {
            // Arrange
            Mock<IParameters> parameters = new Mock<IParameters>();

            var target = new UuidJsonRequestBuilder();
            target.Build(parameters.Object);

            // Assert
        }
        public void WhenParametersCorrect_ExpectJsonReturned()
        {
            // Arrange
            const int numberOfItems = 1;

            JObject expected =

                new JObject(
                    new JProperty(JsonRpcConstants.NUMBER_ITEMS_RETURNED_PARAMETER_NAME, numberOfItems)
                );

            // Act
            var parameters = UuidParameters.Create(numberOfItems);
            var target = new UuidJsonRequestBuilder();
            var actual = target.Build(parameters);

            // Assert
            actual.Should().Equal(expected);
        }