com.lexicalscope.fluentreflection.endtoend
Class TestReflectedClassInstanceMethod
java.lang.Object
com.lexicalscope.fluentreflection.endtoend.TestReflectedClassInstanceMethod
public class TestReflectedClassInstanceMethod
- extends Object
Field Summary |
org.junit.rules.ExpectedException |
exception
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exception
public final org.junit.rules.ExpectedException exception
TestReflectedClassInstanceMethod
public TestReflectedClassInstanceMethod()
simpleMethodCanBeCalled
public void simpleMethodCanBeCalled()
callingMethodWithReturnValueReturnsValue
public void callingMethodWithReturnValueReturnsValue()
canCallMethodWithOneArgumentIfMultipleMatches
public void canCallMethodWithOneArgumentIfMultipleMatches()
methodWithTwoArgumentsCanBeCalled
public void methodWithTwoArgumentsCanBeCalled()
methodWithTwoArgumentsHasCorrectArgumentCount
public void methodWithTwoArgumentsHasCorrectArgumentCount()
instanceMethodArgumentTypeIsCorrect
public void instanceMethodArgumentTypeIsCorrect()
throws Exception
- Throws:
Exception
callingInstanceMethodWithoutInstanceFails
public void callingInstanceMethodWithoutInstanceFails()
callingInstanceMethodWithWrongInstanceType
public void callingInstanceMethodWithWrongInstanceType()
Copyright © 2011-2012 lexicalscope. All Rights Reserved.