
com.github.aro_tech.extended_mockito.ExtendedMockito Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of extended-mockito Show documentation
Show all versions of extended-mockito Show documentation
Jar with Mockito as a mixin interface, plus extra features
/**
*
*/
package com.github.aro_tech.extended_mockito;
import org.mockito.ArgumentCaptor;
/**
* Mixin interface which includes Mockito plus added functionalities
*
* @author aro_tech
*
*/
public interface ExtendedMockito extends MockitoMixin, ExtendedMatchers {
/**
* Convenience method for creating an ArgumentCaptor for the given type
*
* @param clazz
* @return
*/
default ArgumentCaptor captorOf(Class clazz) {
return ArgumentCaptor.forClass(clazz);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy