@Test public void testWrapEmptyThrows() throws Exception { final PrimitiveSet<PrfSet> primitiveSet = PrimitiveSet.newPrimitiveSet(PrfSet.class); assertThrows( GeneralSecurityException.class, new ThrowingRunnable() { @Override public void run() throws Throwable { new PrfSetWrapper().wrap(primitiveSet); } }); }
@Override public PrfSet wrap(PrimitiveSet<PrfSet> set) throws GeneralSecurityException { return new WrappedPrfSet(set); }
PrfSetWrapper implements PrimitiveWrapper<PrfSet, PrfSet> { @Override public PrfSet wrap(PrimitiveSet<PrfSet> set) throws GeneralSecurityException { return new WrappedPrfSet(set); } }
PrfSetWrapper implements PrimitiveWrapper<PrfSet, PrfSet> { @Override public PrfSet wrap(PrimitiveSet<PrfSet> set) throws GeneralSecurityException { return new WrappedPrfSet(set); }  }
PrfSetWrapper implements PrimitiveWrapper<PrfSet, PrfSet> { @Override public PrfSet wrap(PrimitiveSet<PrfSet> set) throws GeneralSecurityException { return new WrappedPrfSet(set); }  @Override PrfSet wrap(PrimitiveSet<PrfSet> set); @Override Class<PrfSet> getPrimitiveClass(); @Override Class<PrfSet> getInputPrimitiveClass(); static void register(); }
PrfSetWrapper implements PrimitiveWrapper<PrfSet, PrfSet> { @Override public PrfSet wrap(PrimitiveSet<PrfSet> set) throws GeneralSecurityException { return new WrappedPrfSet(set); }  @Override PrfSet wrap(PrimitiveSet<PrfSet> set); @Override Class<PrfSet> getPrimitiveClass(); @Override Class<PrfSet> getInputPrimitiveClass(); static void register();  }