no message
This commit is contained in:
parent
1c3423a4c0
commit
c72e1c4f33
|
|
@ -16,7 +16,7 @@
|
|||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>1.1.7</version>
|
||||
<scope>provided</scope>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import org.junit.runner.RunWith;
|
|||
import static org.powermock.api.mockito.PowerMockito.*;
|
||||
|
||||
import org.mockito.Mockito;
|
||||
import org.powermock.core.classloader.annotations.PowerMockIgnore;
|
||||
import org.powermock.core.classloader.annotations.PrepareForTest;
|
||||
import org.powermock.modules.junit4.PowerMockRunner;
|
||||
|
||||
|
|
@ -14,6 +15,7 @@ import org.powermock.modules.junit4.PowerMockRunner;
|
|||
*/
|
||||
@RunWith(PowerMockRunner.class)
|
||||
@PrepareForTest({AbstractWorker.class})
|
||||
@PowerMockIgnore({"javax.management.*"})
|
||||
public class AbstractWorkerProviderTestCase {
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
|
|
|
|||
Loading…
Reference in New Issue