@Test public void testGetPredecessorsNull() throws Exception { Version delegate = mock(Version.class); VersionFacade<Session> facade = getFacade(delegate); assertNull("should be null", facade.getPredecessors()); }
@Override public Version[] getPredecessors() throws RepositoryException { return wrapVersions(delegate.getPredecessors()); }
VersionFacade extends NodeFacade<Version, S> implements Version { @Override public Version[] getPredecessors() throws RepositoryException { return wrapVersions(delegate.getPredecessors()); } }
VersionFacade extends NodeFacade<Version, S> implements Version { @Override public Version[] getPredecessors() throws RepositoryException { return wrapVersions(delegate.getPredecessors()); } VersionFacade(final @NotNull Version delegate, final @NotNull SessionFacade<S> session); }
VersionFacade extends NodeFacade<Version, S> implements Version { @Override public Version[] getPredecessors() throws RepositoryException { return wrapVersions(delegate.getPredecessors()); } VersionFacade(final @NotNull Version delegate, final @NotNull SessionFacade<S> session); @Override VersionHistory getContainingHistory(); @Override Calendar getCreated(); @Override Version getLinearSuccessor(); @Override Version getLinearPredecessor(); @Override Version[] getSuccessors(); @Override Version[] getPredecessors(); @Override Node getFrozenNode(); }
VersionFacade extends NodeFacade<Version, S> implements Version { @Override public Version[] getPredecessors() throws RepositoryException { return wrapVersions(delegate.getPredecessors()); } VersionFacade(final @NotNull Version delegate, final @NotNull SessionFacade<S> session); @Override VersionHistory getContainingHistory(); @Override Calendar getCreated(); @Override Version getLinearSuccessor(); @Override Version getLinearPredecessor(); @Override Version[] getSuccessors(); @Override Version[] getPredecessors(); @Override Node getFrozenNode();  }