@Test public void test_wrapEmpty_throws() throws Exception { PrimitiveSet<JwtMac> primitiveSet = PrimitiveSet.newPrimitiveSet(JwtMac.class); try { wrapper.wrap(primitiveSet); fail(); } catch (GeneralSecurityException e) { } }
@Override public JwtMac wrap(final PrimitiveSet<JwtMac> primitives) throws GeneralSecurityException { validate(primitives); return new WrappedJwtMac(primitives); }
JwtMacWrapper implements PrimitiveWrapper<JwtMac, JwtMac> { @Override public JwtMac wrap(final PrimitiveSet<JwtMac> primitives) throws GeneralSecurityException { validate(primitives); return new WrappedJwtMac(primitives); } }
JwtMacWrapper implements PrimitiveWrapper<JwtMac, JwtMac> { @Override public JwtMac wrap(final PrimitiveSet<JwtMac> primitives) throws GeneralSecurityException { validate(primitives); return new WrappedJwtMac(primitives); } JwtMacWrapper(); }
JwtMacWrapper implements PrimitiveWrapper<JwtMac, JwtMac> { @Override public JwtMac wrap(final PrimitiveSet<JwtMac> primitives) throws GeneralSecurityException { validate(primitives); return new WrappedJwtMac(primitives); } JwtMacWrapper(); @Override JwtMac wrap(final PrimitiveSet<JwtMac> primitives); @Override Class<JwtMac> getPrimitiveClass(); @Override Class<JwtMac> getInputPrimitiveClass(); static void register(); }
JwtMacWrapper implements PrimitiveWrapper<JwtMac, JwtMac> { @Override public JwtMac wrap(final PrimitiveSet<JwtMac> primitives) throws GeneralSecurityException { validate(primitives); return new WrappedJwtMac(primitives); } JwtMacWrapper(); @Override JwtMac wrap(final PrimitiveSet<JwtMac> primitives); @Override Class<JwtMac> getPrimitiveClass(); @Override Class<JwtMac> getInputPrimitiveClass(); static void register();  }