@Test
public void testConfAsEnvironment() {

  if (!Shell.WINDOWS) {
    fencer.tryFence(TEST_TARGET, "echo $in_fencing_tests");
    Mockito.verify(ShellCommandFencer.LOG).info(
        Mockito.endsWith("echo $in...ing_tests: yessir"));
  } else {
    fencer.tryFence(TEST_TARGET, "echo %in_fencing_tests%");
    Mockito.verify(ShellCommandFencer.LOG).info(
        Mockito.endsWith("echo %in...ng_tests%: yessir"));
  }
}