コード例 #1
0
 public void testSupplierIsSerializable() throws Exception {
   serialize(scope.apply(() -> "Ni"));
 }
コード例 #2
0
 @Test(expectedExceptions = NotSerializableException.class)
 public void testDelegateScopeIsNotSerializable() throws Exception {
   serialize(delegateScope);
 }