public Confirmation Create(string name)
        {
            Enumeration enumeration = new Enumeration(name);
            enumeration = enumerationRepository.SaveOrUpdate(enumeration);

            return Confirmation.CreateSuccessConfirmation("The enumeration \"" + name + "\" was changed successfully.", enumeration.Id);
        }
        public void CanCompareEnumerations()
        {
            Enumeration instance = new Enumeration("Sample Name");

            Enumeration instanceToCompareTo = new Enumeration("Sample Name");

            instance.ShouldEqual(instanceToCompareTo);
        }
        public void CanChangeName()
        {
            //Establish Context
            Enumeration enumeration = new Enumeration("Sample Name");

            //Act
            enumeration.ChangeName("Changed Name");

            //Assert
            enumeration.Name.ShouldEqual("Changed Name");
        }
        public void CanDeactivateEnumeration()
        {
            //Establish Context
            Enumeration enumeration = new Enumeration("Sample Name");
            enumeration.Activate();
            enumeration.Active.ShouldBeTrue();

            //Act
            enumeration.Deactivate();

            //Assert
            enumeration.Active.ShouldBeFalse();
        }