public class org.apache.zookeeper.test.UnsupportedAddWatcherTest extends org.apache.zookeeper.test.ClientBase
{
public void <init>()
{
org.apache.zookeeper.test.UnsupportedAddWatcherTest v;
v := @this: org.apache.zookeeper.test.UnsupportedAddWatcherTest;
specialinvoke v.<org.apache.zookeeper.test.ClientBase: void <init>()>();
return;
}
public void setUp() throws java.lang.Exception
{
java.lang.Class v;
java.lang.String v;
org.apache.zookeeper.test.UnsupportedAddWatcherTest v;
v := @this: org.apache.zookeeper.test.UnsupportedAddWatcherTest;
v = class "Lorg/apache/zookeeper/test/UnsupportedAddWatcherTest$StubbedWatchManager;";
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
staticinvoke <java.lang.System: java.lang.String setProperty(java.lang.String,java.lang.String)>("zookeeper.watchManagerName", v);
specialinvoke v.<org.apache.zookeeper.test.ClientBase: void setUp()>();
return;
}
public void tearDown() throws java.lang.Exception
{
java.lang.Throwable v;
org.apache.zookeeper.test.UnsupportedAddWatcherTest v;
v := @this: org.apache.zookeeper.test.UnsupportedAddWatcherTest;
label:
specialinvoke v.<org.apache.zookeeper.test.ClientBase: void tearDown()>();
label:
staticinvoke <java.lang.System: java.lang.String clearProperty(java.lang.String)>("zookeeper.watchManagerName");
goto label;
label:
v := @caughtexception;
staticinvoke <java.lang.System: java.lang.String clearProperty(java.lang.String)>("zookeeper.watchManagerName");
throw v;
label:
return;
catch java.lang.Throwable from label to label with label;
}
public void testBehavior() throws java.io.IOException, java.lang.InterruptedException, org.apache.zookeeper.KeeperException
{
org.junit.jupiter.api.function.Executable v;
org.apache.zookeeper.test.UnsupportedAddWatcherTest v;
v := @this: org.apache.zookeeper.test.UnsupportedAddWatcherTest;
v = staticinvoke <org.apache.zookeeper.test.UnsupportedAddWatcherTest$lambda_testBehavior_1__313: org.junit.jupiter.api.function.Executable bootstrap$(org.apache.zookeeper.test.UnsupportedAddWatcherTest)>(v);
staticinvoke <org.junit.jupiter.api.Assertions: java.lang.Throwable assertThrows(java.lang.Class,org.junit.jupiter.api.function.Executable)>(class "Lorg/apache/zookeeper/KeeperException$MarshallingErrorException;", v);
return;
}
}