@@ -0,0 +1,1050 @@
+package mb.statix.generator.strategy;%0D%0A%0D%0Aimport mb.statix.generator.DefaultSearchContext;%0D%0Aimport mb.statix.generator.SearchContext;%0D%0Aimport mb.statix.generator.nodes.SearchNode;%0D%0Aimport mb.statix.generator.nodes.SearchNodes;%0D%0Aimport mb.statix.spec.Spec;%0D%0Aimport org.junit.Test;%0D%0A%0D%0Aimport java.util.Arrays;%0D%0Aimport java.util.stream.Collectors;%0D%0A%0D%0Aimport static org.junit.Assert.assertEquals;%0D%0A%0D%0A%0D%0A/**%0D%0A * Tests the %7B@link Identity%7D strategy.%0D%0A */%0D%0Apublic final class IdentityTests %7B%0D%0A%0D%0A    private SearchContext createContext() %7B%0D%0A        return new DefaultSearchContext(Spec.of());%0D%0A    %7D%0D%0A%0D%0A    @Test%0D%0A    public void returnsInputUnchanged() %7B%0D%0A        // Arrange%0D%0A        SearchContext ctx = createContext();%0D%0A        SearchNode%3CString%3E node = new SearchNode%3C%3E(0, %22a%22, null, %22init%22);%0D%0A        Identity%3CString%3E strategy = new Identity%3C%3E();%0D%0A%0D%0A        // Act%0D%0A        SearchNodes%3CString%3E result = strategy.doApply(ctx, node);%0D%0A%0D%0A        // Assert%0D%0A        assertEquals(Arrays.asList(node), result.nodes().collect(Collectors.toList()));%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

Add Identity test