Class EnumMappingTest

Functional test for enum mapping as described
here.
In this functional test, Enum is categorized into two types: Based Enum and Overrided Enum.
Based Enum refers to those enum without any overrided methods, including constructors. A
typical Based Enum would look as below.

public enum SrcType {
FOO , BAR;
}

On the contrary, Overrided Enum refers to those enum with overrided methods, including
constructors. A typical Overrided Enum would look as below.