@Test public void testGetColumns() { QueryObjectModel delegate = mock(QueryObjectModel.class); QueryObjectModelFacade<Session> facade = getFacade(delegate); final Column[] value = new Column[0]; when(delegate.getColumns()).thenReturn(value); assertSame("same value", value, facade.getColumns()); }
@Override public Column[] getColumns() { return delegate.getColumns(); }
QueryObjectModelFacade extends QueryFacade<QueryObjectModel, S> implements QueryObjectModel { @Override public Column[] getColumns() { return delegate.getColumns(); } }
QueryObjectModelFacade extends QueryFacade<QueryObjectModel, S> implements QueryObjectModel { @Override public Column[] getColumns() { return delegate.getColumns(); } @SuppressWarnings("WeakerAccess")  QueryObjectModelFacade(final @NotNull QueryObjectModel delegate, final @NotNull SessionFacade<S> session); }
QueryObjectModelFacade extends QueryFacade<QueryObjectModel, S> implements QueryObjectModel { @Override public Column[] getColumns() { return delegate.getColumns(); } @SuppressWarnings("WeakerAccess")  QueryObjectModelFacade(final @NotNull QueryObjectModel delegate, final @NotNull SessionFacade<S> session); @Override Source getSource(); @Override Constraint getConstraint(); @Override Ordering[] getOrderings(); @Override Column[] getColumns(); }
QueryObjectModelFacade extends QueryFacade<QueryObjectModel, S> implements QueryObjectModel { @Override public Column[] getColumns() { return delegate.getColumns(); } @SuppressWarnings("WeakerAccess")  QueryObjectModelFacade(final @NotNull QueryObjectModel delegate, final @NotNull SessionFacade<S> session); @Override Source getSource(); @Override Constraint getConstraint(); @Override Ordering[] getOrderings(); @Override Column[] getColumns();  }