public void cannot_find_arguments_if_there_is_a_method_call_but_it_is_not_at_root_level() { object[] arguments; Assert.False(ArgumentsVisitor.TryFindArgumentsWithin(GetExpression(() => new[] { Tuple.Create(1, 2) }), out arguments)); }
public void cannot_find_arguments_in_non_method_call() { object[] arguments; Assert.False(ArgumentsVisitor.TryFindArgumentsWithin(GetExpression(() => 13), out arguments)); Assert.False(ArgumentsVisitor.TryFindArgumentsWithin(GetExpression(() => "foo"), out arguments)); }