public class StubBuilderTest extends AbstractStubTestCase
Modifier and Type | Class and Description |
---|---|
static interface |
StubBuilderTest.Marker |
target
proxyFactory
Constructor and Description |
---|
StubBuilderTest() |
Modifier and Type | Method and Description |
---|---|
protected StubInterface |
createProxy(Trainer<StubInterface> trainer) |
void |
testAdditionalInterfaces() |
void |
testWithConcreteTarget() |
void |
testWithNoTargetAndNoInterceptors() |
void |
testWithNoTargetWithInterceptor() |
void |
testWithObjectProviderTarget() |
setUpProxyFactory, testAnyMatcher, testInterruptResume, testMixingArgumentMatchingStrategies, testStubArray, testStubReturn, testThenBeforeWhen, testThrowExceptionWithException, testThrowExceptionWithProvidedException, testThrowingExceptionObject, testThrowingProvidedException, testUsingWrongStub, testWithArgumentMatchers, testWithArrayParameter, testWithBooleanArray, testWithByteArray, testWithCharArray, testWithDoubleArray, testWithFloatArray, testWithIntArray, testWithLongArray, testWithMismatchedArgument, testWithMultipleMethodsTrained, testWithShortArray, testWithSingleMethodTrained, testWithStringArray
createParameters
public StubBuilderTest()
protected StubInterface createProxy(Trainer<StubInterface> trainer)
createProxy
in class AbstractStubTestCase
public void testWithConcreteTarget()
public void testWithNoTargetAndNoInterceptors()
public void testWithNoTargetWithInterceptor()
public void testWithObjectProviderTarget()
public void testAdditionalInterfaces()
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.