In my unit tests, I need to create a mock of an enum. The original enum structure includes fixed values for 'START' and 'END', but the middle options can change over time to represent new features. These changes may involve adding or removing enum options.
To ensure that classes interacting with this enum are functioning correctly without constantly updating my unit tests, I want to use a separate enum specifically for testing purposes. This mocked enum will have stable values for 'START' and 'END', but variable options in between:
enum MockedEnum {
START = 'start',
NAME_OF_FIRST = 'nameOfFirst',
NAME_OF_SECOND = 'nameOfSecond',
END = 'end'
}