public void CanFindLastAt() { var testValue = "FooBarFooBar"; var findChar = "F"; var expectedIndex = 6; var sv = new StringValue(testValue); //Case Sensitive Assert.AreEqual(expectedIndex, sv.FindLastAt(findChar, 8)); //Case Insensitive Assert.AreEqual(expectedIndex, sv.FindLastAt(findChar.ToLower(), 8)); }