Beispiel #1
0
        public void ParameterPrefix_WhenCalled_ReturnsEquivalentSqlExpression()
        {
            // Arrange
            var expressions = new FakeDbStandardExpressions();
            // Act
            var expression = expressions.ParameterPrefix();

            // Assert
            expression.Should().BeEquivalentTo("@");
        }
Beispiel #2
0
        public void FromDummy_WhenCalled_ReturnsEquivalentSqlExpression()
        {
            // Arrange
            var expressions = new FakeDbStandardExpressions();
            // Act
            var expression = expressions.FromDummy();

            // Assert
            expression.Should().BeEquivalentTo(string.Empty);
        }