ProjectionJpaStreamId implements JpaStreamId { @Override public final <T> T getSingleParamValue() { throw new UnsupportedOperationException(getClass().getSimpleName() + " has no parameters"); } ProjectionJpaStreamId(@NotNull final String entityName, @NotNull final String nativeTableName); @Override final String getName(); @Override final boolean isProjection(); @Override final String getEntityName(); @Override final String getNativeTableName(); @Override final T getSingleParamValue(); @Override final List<KeyValue> getParameters(); @Override final String asString(); @Override final int hashCode(); @Override final boolean equals(final Object obj); @Override final String toString();  }
@Test(expected = UnsupportedOperationException.class) public void testGetSingleParamValue() { testee.getSingleParamValue(); }