com.atlassian.confluence.it.rpc
Class RpcAssertions
java.lang.Object
com.atlassian.confluence.it.rpc.RpcAssertions
public class RpcAssertions
- extends Object
Some common assertions that crop up while testing RPC methods
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RpcAssertions
public RpcAssertions()
assertCausesRemoteException
public static void assertCausesRemoteException(ConfluenceRpc rpc,
String methodName,
Object... args)
- Execute an RPC call with the expectation that it will throw a RemoteException
assertCausesNotPermittedException
public static void assertCausesNotPermittedException(ConfluenceRpc rpc,
String methodName,
Object... args)
- Execute an RPC call with the expectation that it will throw a RemoteException
assertIsRemoteException
public static void assertIsRemoteException(Throwable e)
assertIsNotPermittedException
public static void assertIsNotPermittedException(Throwable e)
Copyright © 2003–2015 Atlassian. All rights reserved.