final String fooPath = "/foo";
final String barPath = "/foo/bar";
final String wiiPath = "/foo/bar/wii";
final Session s = mockery.mock(Session.class);
final Node foo = mockery.mock(Node.class, fooPath);
final Node bar = mockery.mock(Node.class, barPath);
final Node wii = mockery.mock(Node.class, wiiPath);
mockery.checking(new Expectations() {{
allowing(s).itemExists(wiiPath);
will(returnValue(false));