@@ -0,0 +1,781 @@
+/*%0A * Copyright (c) 2021 Mockito contributors%0A * This program is made available under the terms of the MIT License.%0A */%0Apackage org.mockitoinline;%0A%0Aimport org.junit.Test;%0Aimport org.mockito.Mockito;%0A%0Aimport static org.hamcrest.CoreMatchers.*;%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0A%0Apublic class EnumMockingTest %7B%0A%0A    @Test%0A    public void testMockEnum() %7B%0A        Animal a = Mockito.mock(Animal.class);%0A        assertThat(a, not(equalTo(Animal.CAT)));%0A        assertThat(a.sound(), nullValue(String.class));%0A        assertThat(a.name(), nullValue(String.class));%0A    %7D%0A%0A    enum Animal %7B%0A        CAT %7B%0A            @Override%0A            public String sound() %7B%0A                return %22meow%22;%0A            %7D%0A        %7D;%0A%0A        public abstract String sound();%0A    %7D%0A%7D%0A

Add test for enum mocking using inline mock maker.