Added private constructor (PMD)

This commit is contained in:
Erik C. Thauvin 2019-04-27 02:51:06 -07:00
parent 1d7f8eb86b
commit bc4399f798

View file

@ -45,6 +45,10 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
final class AbstractModuleTest {
private AbstractModuleTest() {
throw new UnsupportedOperationException("Illegal constructor call.");
}
@SuppressFBWarnings("CE_CLASS_ENVY")
static void testAbstractModule(final AbstractModule module) {
final String name = module.getClass().getName();