@Test public void testGetCreated() throws Exception { Version delegate = mock(Version.class); VersionFacade<Session> facade = getFacade(delegate); final Calendar value = Calendar.getInstance(); when(delegate.getCreated()).thenReturn(value); assertSame("is same", value, facade.getCreated()); }
@Override public Calendar getCreated() throws RepositoryException { return delegate.getCreated(); }
VersionFacade extends NodeFacade<Version, S> implements Version { @Override public Calendar getCreated() throws RepositoryException { return delegate.getCreated(); } }
VersionFacade extends NodeFacade<Version, S> implements Version { @Override public Calendar getCreated() throws RepositoryException { return delegate.getCreated(); } VersionFacade(final @NotNull Version delegate, final @NotNull SessionFacade<S> session); }
VersionFacade extends NodeFacade<Version, S> implements Version { @Override public Calendar getCreated() throws RepositoryException { return delegate.getCreated(); } 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 Calendar getCreated() throws RepositoryException { return delegate.getCreated(); } 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();  }