public class RpcAssertions extends Object
Constructor and Description |
---|
RpcAssertions() |
Modifier and Type | Method and Description |
---|---|
static void |
assertCausesNotPermittedException(ConfluenceRpc rpc,
String methodName,
Object... args)
Execute an RPC call with the expectation that it will throw a RemoteException
|
static void |
assertCausesRemoteException(ConfluenceRpc rpc,
String methodName,
Object... args)
Execute an RPC call with the expectation that it will throw a RemoteException
|
static void |
assertIsNotFoundException(Throwable e) |
static void |
assertIsNotPermittedException(Throwable e) |
static void |
assertIsPermissionException(Throwable e) |
static void |
assertIsRemoteException(Throwable e) |
public static void assertCausesRemoteException(ConfluenceRpc rpc, String methodName, Object... args)
public static void assertCausesNotPermittedException(ConfluenceRpc rpc, String methodName, Object... args)
public static void assertIsNotFoundException(Throwable e)
public static void assertIsRemoteException(Throwable e)
public static void assertIsPermissionException(Throwable e)
public static void assertIsNotPermittedException(Throwable e)
Copyright © 2003–2015 Atlassian. All rights reserved.