@Test public void testGetSupportedQueryLanguages() throws Exception { QueryManager delegate = mock(QueryManager.class); QueryManagerFacade<Session> facade = getFacade(delegate); final String[] value = new String[0]; when(delegate.getSupportedQueryLanguages()).thenReturn(value); assertSame("same value", value, facade.getSupportedQueryLanguages()); }
@Override public String[] getSupportedQueryLanguages() throws RepositoryException { return delegate.getSupportedQueryLanguages(); }
QueryManagerFacade implements QueryManager { @Override public String[] getSupportedQueryLanguages() throws RepositoryException { return delegate.getSupportedQueryLanguages(); } }
QueryManagerFacade implements QueryManager { @Override public String[] getSupportedQueryLanguages() throws RepositoryException { return delegate.getSupportedQueryLanguages(); } QueryManagerFacade(final @NotNull QueryManager delegate, final @NotNull SessionFacade<S> session); }
QueryManagerFacade implements QueryManager { @Override public String[] getSupportedQueryLanguages() throws RepositoryException { return delegate.getSupportedQueryLanguages(); } QueryManagerFacade(final @NotNull QueryManager delegate, final @NotNull SessionFacade<S> session); @Override Query createQuery(String statement, String language); @Override QueryObjectModelFactory getQOMFactory(); @Override Query getQuery(Node node); @Override String[] getSupportedQueryLanguages(); }
QueryManagerFacade implements QueryManager { @Override public String[] getSupportedQueryLanguages() throws RepositoryException { return delegate.getSupportedQueryLanguages(); } QueryManagerFacade(final @NotNull QueryManager delegate, final @NotNull SessionFacade<S> session); @Override Query createQuery(String statement, String language); @Override QueryObjectModelFactory getQOMFactory(); @Override Query getQuery(Node node); @Override String[] getSupportedQueryLanguages();  }