Object fakeObj = new Object();
Object[] testObjs = new Object[] {
new ValidNonProxyObject(new Object[] { new ValidNonProxyObject(
new Object[] {new ValidNonProxyObject(new Object[] {
new TrueProxyTrust() }) }) }),
ProxyTrustUtil.newProxyInstance(fakeObj, new ValidIHandler(
fakeObj, new Object[] { ProxyTrustUtil.newProxyInstance(
fakeObj, new ValidIHandler(fakeObj, new Object[] {
ProxyTrustUtil.newProxyInstance(fakeObj,
new ValidIHandler(fakeObj, new Object[] {
new TrueProxyTrust() })) })) })),
new ValidNonProxyObject(new Object [] {
ProxyTrustUtil.newProxyInstance(fakeObj, new ValidIHandler(
fakeObj, new Object[] {
new ValidNonProxyObject(new Object[] {
ProxyTrustUtil.newProxyInstance(fakeObj,
new ValidIHandler(fakeObj, new Object[] {
new TrueProxyTrust() })) }) })) }),
new ValidNonProxyObject(new Object[] {
new NonRMCProxyTrust(),
ProxyTrustUtil.newProxyInstance(fakeObj, new ValidIHandler(
fakeObj, new Object[] { new TrueProxyTrust() })),
new ValidNonProxyObject(new Object[] {
new TrueProxyTrust() }),
ProxyTrustUtil.newProxyInstance(fakeObj, new ValidIHandler(
fakeObj, new Object[] { new ValidNonProxyObject(
new Object[] { new FalseProxyTrust() }) })) }),
ProxyTrustUtil.newProxyInstance(fakeObj, new ValidIHandler(
fakeObj, new Object[] { ProxyTrustUtil.newProxyInstance(
fakeObj, new ValidIHandler(fakeObj, new Object[] {
ProxyTrustUtil.newProxyInstance(fakeObj,
new ValidIHandler(fakeObj, new Object[] {
newRMIMainProxy(
new TrueProxyTrust()) })) })) })),
new ValidNonProxyObject(new Object [] {
ProxyTrustUtil.newProxyInstance(fakeObj, new ValidIHandler(
fakeObj, new Object[] {
new ValidNonProxyObject(new Object[] {
ProxyTrustUtil.newProxyInstance(fakeObj,
new ValidIHandler(fakeObj, new Object[] {
newRMIMainProxy(
new TrueProxyTrust()) })) }) })) }),
new ValidNonProxyObject(new Object[] {
new NonRMCProxyTrust(),
ProxyTrustUtil.newProxyInstance(fakeObj, new ValidIHandler(
fakeObj, new Object[] { new TrueProxyTrust() })),
new ValidNonProxyObject(new Object[] {
new TrueProxyTrust() }),
ProxyTrustUtil.newProxyInstance(fakeObj, new ValidIHandler(
fakeObj, new Object[] { new ValidNonProxyObject(
new Object[] {
newRMIMainProxy(new FalseProxyTrust()) }) })) }),
new ValidNonProxyObject(new Object [] {
ProxyTrustUtil.newProxyInstance(fakeObj, new ValidIHandler(
fakeObj, new Object[] {
new ValidNonProxyObject(new Object[] {
ProxyTrustUtil.newProxyInstance(fakeObj,
new ValidIHandler(fakeObj, new Object[] {
ProxyTrustUtil.newProxyInstance(
new TrueProxyTrust()) })) }) })) })
};
TrustVerifier.Context[] testCtxs = new TrustVerifier.Context[] {
new TrueTrustVerifierContext(new Object[] { validMC }),