Path: redb-route/tests/redb.Route.Tests.Ldap/LdapOperationTypeTests.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/tests/redb.Route.Tests.Ldap/LdapOperationTypeTests.cs ---- using redb.Route.Ldap; namespace redb.Route.Tests.Ldap; public sealed class LdapOperationTypeTests { [Theory] [InlineData("SEARCH", LdapOperationType.SEARCH)] [InlineData("COMPARE", LdapOperationType.COMPARE)] [InlineData("ADD", LdapOperationType.ADD)] [InlineData("MODIFY", LdapOperationType.MODIFY)] [InlineData("DELETE", LdapOperationType.DELETE)] [InlineData("RENAME", LdapOperationType.RENAME)] [InlineData("BIND", LdapOperationType.BIND)] [InlineData("WATCH", LdapOperationType.WATCH)] public void AllOperationTypes_CanBeParsed(string name, LdapOperationType expected) { Enum.TryParse(name, ignoreCase: true, out var result).Should().BeTrue(); result.Should().Be(expected); } [Fact] public void TotalOperationCount_Is8() { Enum.GetValues().Length.Should().Be(8); } }