@Test void single() { when(intSequence.single()).thenReturn(54321); SequenceExpression<Integer> sut = new SequenceExpression<>(intSequence); int result = sut.single(); assertThat(result, is(54321)); }
public T single() { return sequence.single(); }
SequenceExpression implements TypedExpression<T> { public T single() { return sequence.single(); } }
SequenceExpression implements TypedExpression<T> { public T single() { return sequence.single(); } SequenceExpression(Sequence<T> sequence); }
SequenceExpression implements TypedExpression<T> { public T single() { return sequence.single(); } SequenceExpression(Sequence<T> sequence); @Override String label(Scope scope); @Override RowMapper<T> rowMapper(Scope scope, Optional<String> label); @Override TypeToken<T> type(); @Override String sql(Scope scope); @Override Stream<Object> args(Scope scope); @Override Precedence precedence(); T single(); }
SequenceExpression implements TypedExpression<T> { public T single() { return sequence.single(); } SequenceExpression(Sequence<T> sequence); @Override String label(Scope scope); @Override RowMapper<T> rowMapper(Scope scope, Optional<String> label); @Override TypeToken<T> type(); @Override String sql(Scope scope); @Override Stream<Object> args(Scope scope); @Override Precedence precedence(); T single();  }