<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-core</artifactId>
+ <version>2.25.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.powermock</groupId>
+ <artifactId>powermock-core</artifactId>
+ <version>2.0.2</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito2</artifactId>
+ <version>2.0.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
+ <version>2.0.2</version>
<scope>test</scope>
</dependency>
import java.util.Optional;
import org.junit.Assert;
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentMatchers;
this.deviceTransactionManager);
}
- @Ignore
@Test
public void testSetPowerMockingUtil() {
PowerMockito.mockStatic(OlmUtils.class);
}
- @Ignore
@Test
public void testSetPowerMockingUtilNetwokType() throws OpenRoadmInterfaceException {
PowerMockito.mockStatic(OlmUtils.class);
}
- @Ignore
@Test
public void testSetPowerMockingUtilNetwokTypeMoreThanOneNode() throws OpenRoadmInterfaceException {
PowerMockito.mockStatic(OlmUtils.class);
}
- @Ignore
@Test
public void testSetPowerXpdrNodes() {
PowerMockito.mockStatic(OlmUtils.class);
}
- @Ignore
@Test
public void testSetPowerRdmNodesReturnInterfaceEmpty() throws OpenRoadmInterfaceException {
PowerMockito.mockStatic(OlmUtils.class);
Assert.assertEquals(false, output);
}
- @Ignore
@Test
public void testSetPowerRdmNodesThrowsException() throws OpenRoadmInterfaceException {
PowerMockito.mockStatic(OlmUtils.class);
Assert.assertEquals(false, output);
}
- @Ignore
@Test
public void testSetPowerRdmNodesReturnInterface() throws OpenRoadmInterfaceException {
PowerMockito.mockStatic(OlmUtils.class);