@Test public void testGetVersionLabels1() throws Exception { VersionHistory delegate = mock(VersionHistory.class); VersionHistoryFacade<Session> facade = getFacade(delegate); final String[] value = new String[0]; when(delegate.getVersionLabels()).thenReturn(value); assertSame("is same value", value, facade.getVersionLabels()); }
@Override public String[] getVersionLabels() throws RepositoryException { return delegate.getVersionLabels(); }
VersionHistoryFacade extends NodeFacade<VersionHistory, S> implements VersionHistory { @Override public String[] getVersionLabels() throws RepositoryException { return delegate.getVersionLabels(); } }
VersionHistoryFacade extends NodeFacade<VersionHistory, S> implements VersionHistory { @Override public String[] getVersionLabels() throws RepositoryException { return delegate.getVersionLabels(); } VersionHistoryFacade(final @NotNull VersionHistory delegate, final @NotNull SessionFacade<S> session); }
VersionHistoryFacade extends NodeFacade<VersionHistory, S> implements VersionHistory { @Override public String[] getVersionLabels() throws RepositoryException { return delegate.getVersionLabels(); } VersionHistoryFacade(final @NotNull VersionHistory delegate, final @NotNull SessionFacade<S> session); @SuppressWarnings("deprecation") @Override String getVersionableUUID(); @Override String getVersionableIdentifier(); @Override boolean hasVersionLabel(String label); @Override boolean hasVersionLabel(Version version, String label); @Override String[] getVersionLabels(); @Override String[] getVersionLabels(Version version); @Override Version getRootVersion(); @Override VersionIterator getAllLinearVersions(); @Override VersionIterator getAllVersions(); @Override NodeIterator getAllLinearFrozenNodes(); @Override NodeIterator getAllFrozenNodes(); @Override Version getVersion(String versionName); @Override Version getVersionByLabel(String label); @Override void addVersionLabel(String versionName, String label, boolean moveLabel); @Override void removeVersionLabel(String label); @Override void removeVersion(String versionName); }
VersionHistoryFacade extends NodeFacade<VersionHistory, S> implements VersionHistory { @Override public String[] getVersionLabels() throws RepositoryException { return delegate.getVersionLabels(); } VersionHistoryFacade(final @NotNull VersionHistory delegate, final @NotNull SessionFacade<S> session); @SuppressWarnings("deprecation") @Override String getVersionableUUID(); @Override String getVersionableIdentifier(); @Override boolean hasVersionLabel(String label); @Override boolean hasVersionLabel(Version version, String label); @Override String[] getVersionLabels(); @Override String[] getVersionLabels(Version version); @Override Version getRootVersion(); @Override VersionIterator getAllLinearVersions(); @Override VersionIterator getAllVersions(); @Override NodeIterator getAllLinearFrozenNodes(); @Override NodeIterator getAllFrozenNodes(); @Override Version getVersion(String versionName); @Override Version getVersionByLabel(String label); @Override void addVersionLabel(String versionName, String label, boolean moveLabel); @Override void removeVersionLabel(String label); @Override void removeVersion(String versionName);  }