@@ -0,0 +1,1023 @@
+package soc.com.github;%0A%0Aimport org.junit.experimental.runners.Enclosed;%0Aimport org.junit.experimental.theories.DataPoints;%0Aimport org.junit.experimental.theories.Theories;%0Aimport org.junit.experimental.theories.Theory;%0Aimport org.junit.runner.RunWith;%0A%0A@RunWith(Enclosed.class)%0Apublic class EnclosingTheory %7B%0A    %0A    @RunWith(Theories.class)%0A    public static class EnclosedTheory %7B%0A        @DataPoints%0A        public static Fixture fixtures%5B%5D = %7B%0A                new Fixture(1, 5),%0A                new Fixture(2, 10)%0A        %7D;%0A        %0A        @Theory%0A        public void testCase(Fixture f) throws Exception %7B%0A            System.out.println(%22input: %22 + f.input);%0A            System.out.println(%22expected: %22 + f.expected);%0A        %7D%0A        %0A        public static class Fixture %7B%0A            int input;%0A            int expected;%0A%0A            public Fixture(int input, int expected) %7B%0A                super();%0A                this.input = input;%0A                this.expected = expected;%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

add enclosed parameterized test.