|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.test.util.JavaBeanMethodHandler
public class JavaBeanMethodHandler
Handles getters and setters by storing their values in a map. Calling a method that is not a getter or a setter will throw UnsupportedOperationException.
Make sure you create one of these per test, as they are stateful.
| Constructor Summary | |
|---|---|
JavaBeanMethodHandler()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
methodNotImplemented(java.lang.reflect.Method method,
java.lang.Object[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaBeanMethodHandler()
| Method Detail |
|---|
public java.lang.Object methodNotImplemented(java.lang.reflect.Method method,
java.lang.Object[] args)
methodNotImplemented in interface DuckTypeProxy.UnimplementedMethodHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||