@Test public void testGetScore() throws Exception { Row delegate = mock(Row.class); RowFacade<Session> facade = getFacade(delegate); final double value = 42.0D; when(delegate.getScore()).thenReturn(value); assertEquals("same value", value, facade.getScore(), 1.0D); }
@Override public double getScore() throws RepositoryException { return delegate.getScore(); }
RowFacade implements Row { @Override public double getScore() throws RepositoryException { return delegate.getScore(); } }
RowFacade implements Row { @Override public double getScore() throws RepositoryException { return delegate.getScore(); } @SuppressWarnings("WeakerAccess")  RowFacade(final @NotNull Row delegate, final @NotNull SessionFacade<S> session); }
RowFacade implements Row { @Override public double getScore() throws RepositoryException { return delegate.getScore(); } @SuppressWarnings("WeakerAccess")  RowFacade(final @NotNull Row delegate, final @NotNull SessionFacade<S> session); @Override Value[] getValues(); @Override Value getValue(String columnName); @Override Node getNode(); @Override Node getNode(String selectorName); @Override String getPath(); @Override String getPath(String selectorName); @Override double getScore(); @Override double getScore(String selectorName); }
RowFacade implements Row { @Override public double getScore() throws RepositoryException { return delegate.getScore(); } @SuppressWarnings("WeakerAccess")  RowFacade(final @NotNull Row delegate, final @NotNull SessionFacade<S> session); @Override Value[] getValues(); @Override Value getValue(String columnName); @Override Node getNode(); @Override Node getNode(String selectorName); @Override String getPath(); @Override String getPath(String selectorName); @Override double getScore(); @Override double getScore(String selectorName);  }