com.lexicalscope.fluentreflection.endtoend
Class TestReflectedClassInstanceMethod

java.lang.Object
  extended by com.lexicalscope.fluentreflection.endtoend.TestReflectedClassInstanceMethod

public class TestReflectedClassInstanceMethod
extends Object


Nested Class Summary
static class TestReflectedClassInstanceMethod.ClassWithInstanceMethods
           
 
Field Summary
 org.junit.rules.ExpectedException exception
           
 
Constructor Summary
TestReflectedClassInstanceMethod()
           
 
Method Summary
 void callingInstanceMethodWithoutInstanceFails()
           
 void callingInstanceMethodWithWrongInstanceType()
           
 void callingMethodWithReturnValueReturnsValue()
           
 void canCallMethodWithOneArgumentIfMultipleMatches()
           
 void instanceMethodArgumentTypeIsCorrect()
           
 void methodWithTwoArgumentsCanBeCalled()
           
 void methodWithTwoArgumentsHasCorrectArgumentCount()
           
 void simpleMethodCanBeCalled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exception

public final org.junit.rules.ExpectedException exception
Constructor Detail

TestReflectedClassInstanceMethod

public TestReflectedClassInstanceMethod()
Method Detail

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.