Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class AbstractClassTest {
- // should have for each test a different implementation of the AbstractClass
- AbstractClass abstractClass;
- @Test
- void methodOne() {
- // should be run for each implementer of AbstractClass
- }
- @ParameterizedTest
- @MethodSource
- void methodTwo(Parameter parameter) {
- // should be run with each implementer of AbstractClass
- // each implementer of abstract class should then be run with each parameter from the method source
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment