class RowFacade implements Row {

    @Override
    public String getPath() throws RepositoryException {
        return delegate.getPath();
    }

}

class RowFacadeTest {

    @Test
    public void testGetPath() throws Exception {

        Row delegate = mock(Row.class);
        RowFacade<Session> facade = getFacade(delegate);
        final String value = "/correct/path";
        when(delegate.getPath()).thenReturn(value);
        assertSame("same value", value, facade.getPath());
    }

}