public void MatchesStringIndex() { IndexStrategy strategy = IndexStrategy.ForStringIndex(); Assert.That(strategy.Matches(Binder.GetIndexBinder(1), new object[] { "Value" }), Is.True); }
public void DoesNotMatchIntIndex() { IndexStrategy strategy = IndexStrategy.ForStringIndex(); Assert.That(strategy.Matches(Binder.GetIndexBinder(1), new object[] { 100 }), Is.False); }