public void Reader_Read_Succeeds(string parameterName, string parameterValue, string scopeExpected, string valueExpected)
        {
            // Act
            _reader.Read(parameterName, parameterValue);

            var constraints = _reader.GetConstraints();

            // Assert
            var scope = constraints.Select(x => x.Scope).Single();

            scope?.ToString().Should().Be(scopeExpected);

            var value = constraints.Select(x => x.Expression).Single();

            value.ToString().Should().Be(valueExpected);
        }
        public void Reader_Read_Succeeds(string parameterName, string parameterValue, string scopeExpected, string valueExpected)
        {
            // Act
            _reader.Read(parameterName, parameterValue);

            IReadOnlyCollection <ExpressionInScope> constraints = _reader.GetConstraints();

            // Assert
            ResourceFieldChainExpression scope = constraints.Select(expressionInScope => expressionInScope.Scope).Single();

            scope?.ToString().Should().Be(scopeExpected);

            QueryExpression value = constraints.Select(expressionInScope => expressionInScope.Expression).Single();

            value.ToString().Should().Be(valueExpected);
        }