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