com.atlassian.core.test.util
Class TestDuckTypeProxy

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.core.test.util.TestDuckTypeProxy
All Implemented Interfaces:
junit.framework.Test

public class TestDuckTypeProxy
extends junit.framework.TestCase


Nested Class Summary
static interface TestDuckTypeProxy.MyInterface
           
 
Constructor Summary
TestDuckTypeProxy()
           
 
Method Summary
 void testNotNullParameter()
           
 void testNullParameter()
           
 void testProxyDelegatesToSecond()
           
 void testProxyReturns()
           
 void testProxyThrows()
           
 void testProxyThrowsTarget()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestDuckTypeProxy

public TestDuckTypeProxy()
Method Detail

testProxyReturns

public void testProxyReturns()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testProxyThrows

public void testProxyThrows()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testProxyThrowsTarget

public void testProxyThrowsTarget()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testProxyDelegatesToSecond

public void testProxyDelegatesToSecond()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testNotNullParameter

public void testNotNullParameter()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testNullParameter

public void testNullParameter()
                       throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.