public void Given_SingleEnumTypeWithDescription_When_Add_Then_ProcessDefinitionWithNameAndDescriptionCreated() { var builder = new ProcessDefinitionBuilder <int, TestDefinedProcesses>(); builder.Add(TestDefinedProcesses.Process1); Assert.AreEqual(builder.Count, 1); Assert.AreEqual(builder.Definitions.First().Description, TestDefinedProcesses.Process1.GetDescription()); Assert.AreEqual(builder.Definitions.First().Name, TestDefinedProcesses.Process1.ToString()); }