@@ -0,0 +1,2212 @@
+package org.springframework.data.datastore.repository;%0A%0Aimport static org.hamcrest.Matchers.contains;%0Aimport static org.hamcrest.Matchers.empty;%0Aimport static org.junit.Assert.assertThat;%0A%0Aimport java.util.Arrays;%0A%0Aimport org.junit.Test;%0A%0Aimport com.google.cloud.datastore.PathElement;%0A%0Apublic class ContextTest %7B%0A    @Test%0A    public void testWith1() %7B%0A        // Exercise%0A        try (Context ctx = Context.with(Arrays.asList(%0A                PathElement.of(%22Kind%22, 1)))) %7B%0A            // Verify%0A            assertThat(Context.getAncestors(), contains(%0A                PathElement.of(%22Kind%22, 1)));%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void testWith2() %7B%0A        // Exercise%0A        try (Context ctx = Context.with(Arrays.asList(%0A                PathElement.of(%22Kind%22, 1),%0A                PathElement.of(%22Kind%22, 2)))) %7B%0A            // Verify%0A            assertThat(Context.getAncestors(), contains(%0A                PathElement.of(%22Kind%22, 1),%0A                PathElement.of(%22Kind%22, 2)));%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void testWithVararg1() %7B%0A        // Exercise%0A        try (Context ctx = Context.with(%0A                PathElement.of(%22Kind%22, 1))) %7B%0A            // Verify%0A            assertThat(Context.getAncestors(), contains(%0A                PathElement.of(%22Kind%22, 1)));%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void testWithVararg2() %7B%0A        // Exercise%0A        try (Context ctx = Context.with(%0A                PathElement.of(%22Kind%22, 1),%0A                PathElement.of(%22Kind%22, 2))) %7B%0A            // Verify%0A            assertThat(Context.getAncestors(), contains(%0A                PathElement.of(%22Kind%22, 1),%0A                PathElement.of(%22Kind%22, 2)));%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void testClose1() %7B%0A        // Setup, Exercise%0A        try (Context ctx = Context.with(%0A                PathElement.of(%22Kind%22, 1))) %7B%0A        %7D%0A%0A        // Verify%0A        assertThat(Context.getAncestors(), empty());%0A    %7D%0A%0A    @Test%0A    public void testClose2() %7B%0A        // Setup, Exercise%0A        try (Context ctx = Context.with(%0A                PathElement.of(%22Kind%22, 1),%0A                PathElement.of(%22Kind%22, 1))) %7B%0A        %7D%0A%0A        // Verify%0A        assertThat(Context.getAncestors(), empty());%0A    %7D%0A%7D%0A

Add tests for Context class