public class DelegateClassTestBase extends TestValueFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
DelegateClassTestBase.TestMethod
A test method to be delegated.
|
| Constructor and Description |
|---|
DelegateClassTestBase(Class<?> delegateType,
Class<?> classUnderTest,
DelegateClassTestBase.TestMethod... testMethods)
Create a new delegate class test base.
|
| Modifier and Type | Method and Description |
|---|---|
static DelegateClassTestBase.TestMethod[] |
declaredTestMethodsFor(Class<?> type) |
void |
testDelegateMethods()
Test all configured delegate methods.
|
createValue, getNextTestValuepublic DelegateClassTestBase(Class<?> delegateType, Class<?> classUnderTest, DelegateClassTestBase.TestMethod... testMethods)
delegateType - The delegation target typeclassUnderTest - The delegating classtestMethods - which methods to test. If not given, all non-private
declared instance methods of delegateType are used.public static DelegateClassTestBase.TestMethod[] declaredTestMethodsFor(Class<?> type)
Copyright © 2013–2020 mklinger GmbH. All rights reserved.