code: @Test public void switchPartialContext() throws IOException {
    Hash hash=$("name","root","context",$("name","context","child",$("name","child")));
    Hash partials=$("partial","{{name}}");
    shouldCompileToWithPartials("{{>partial}}",hash,partials,"root");
    shouldCompileToWithPartials("{{>partial this}}",hash,partials,"root");
    shouldCompileToWithPartials("{{>partial context}}",hash,partials,"context");
    shouldCompileToWithPartials("{{>partial context.name}}",hash,partials,"");
    shouldCompileToWithPartials("{{>partial context.child}}",hash,partials,"child");
  }
  