public void GetConstantOptionalDefaultValue_WithDefaultValue_NoConstantExpression () { var resultOperator = new DefaultIfEmptyResultOperator (new QuerySourceReferenceExpression (ExpressionHelper.CreateMainFromClause_Int ())); resultOperator.GetConstantOptionalDefaultValue (); }
public void GetConstantOptionalDefaultValue_WithDefaultValue_NoConstantExpression() { var resultOperator = new DefaultIfEmptyResultOperator(new QuerySourceReferenceExpression(ExpressionHelper.CreateMainFromClause_Int())); resultOperator.GetConstantOptionalDefaultValue(); }
public void GetConstantOptionalDefaultValue_WithoutDefaultValue() { Assert.That(_resultOperatorWithoutDefaultValue.GetConstantOptionalDefaultValue(), Is.SameAs(null)); }
public void GetConstantOptionalDefaultValue_WithDefaultValue() { Assert.That(_resultOperatorWithDefaultValue.GetConstantOptionalDefaultValue(), Is.EqualTo(100)); }