public void IndexOf_Valid_ReturnsExpected() { var attribute = new DirectoryAttribute { "value" }; Assert.Equal(0, attribute.IndexOf("value")); Assert.Equal(-1, attribute.IndexOf("vaLue")); Assert.Equal(-1, attribute.IndexOf(null)); }