Merge pull request #1279 from felipe-gdr/master
BAEL-632: Mockito's Java 8 features
This commit is contained in:
commit
b0e741042b
14
mockito2/.gitignore
vendored
Normal file
14
mockito2/.gitignore
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
*.class
|
||||||
|
|
||||||
|
.settings
|
||||||
|
.project
|
||||||
|
|
||||||
|
#folders#
|
||||||
|
/target
|
||||||
|
/src/main/webapp/WEB-INF/classes
|
||||||
|
*/META-INF/*
|
||||||
|
|
||||||
|
# Packaged files #
|
||||||
|
*.jar
|
||||||
|
*.war
|
||||||
|
*.ear
|
5
mockito2/README.md
Normal file
5
mockito2/README.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
=========
|
||||||
|
|
||||||
|
## Mockito 2 and Java 8 Tips
|
||||||
|
|
||||||
|
Examples on how to leverage Java 8 new features with Mockito version 2
|
98
mockito2/pom.xml
Normal file
98
mockito2/pom.xml
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>com.baeldung</groupId>
|
||||||
|
<artifactId>mockito2</artifactId>
|
||||||
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
<name>mockito-2-with-java8</name>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<!-- test scoped -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>${junit.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.mockito</groupId>
|
||||||
|
<artifactId>mockito-core</artifactId>
|
||||||
|
<version>${mockito.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<version>${maven-compiler-plugin.version}</version>
|
||||||
|
<configuration>
|
||||||
|
<source>1.8</source>
|
||||||
|
<target>1.8</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<version>${maven-surefire-plugin.version}</version>
|
||||||
|
<configuration>
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/*IntegrationTest.java</exclude>
|
||||||
|
<exclude>**/*LiveTest.java</exclude>
|
||||||
|
</excludes>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>integration</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>integration-test</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>test</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/*LiveTest.java</exclude>
|
||||||
|
</excludes>
|
||||||
|
<includes>
|
||||||
|
<include>**/*IntegrationTest.java</include>
|
||||||
|
</includes>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<systemPropertyVariables>
|
||||||
|
<test.mime>json</test.mime>
|
||||||
|
</systemPropertyVariables>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
|
||||||
|
<!-- testing -->
|
||||||
|
<junit.version>4.12</junit.version>
|
||||||
|
<mockito.version>2.7.5</mockito.version>
|
||||||
|
|
||||||
|
<!-- maven plugins -->
|
||||||
|
<maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
|
||||||
|
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
||||||
|
</properties>
|
||||||
|
</project>
|
@ -0,0 +1,20 @@
|
|||||||
|
package com.baeldung.mockito.java8;
|
||||||
|
|
||||||
|
public class JobPosition {
|
||||||
|
private String title;
|
||||||
|
|
||||||
|
public JobPosition() {}
|
||||||
|
|
||||||
|
public JobPosition(String title) {
|
||||||
|
super();
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTitle() {
|
||||||
|
return title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTitle(String title) {
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
package com.baeldung.mockito.java8;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
|
public interface JobService {
|
||||||
|
Optional<JobPosition> findCurrentJobPosition(Person person);
|
||||||
|
|
||||||
|
default boolean assignJobPosition(Person person, JobPosition jobPosition) {
|
||||||
|
if (!findCurrentJobPosition(person).isPresent()) {
|
||||||
|
person.setCurrentJobPosition(jobPosition);
|
||||||
|
|
||||||
|
return true;
|
||||||
|
} else {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Stream<JobPosition> listJobs(Person person);
|
||||||
|
}
|
@ -0,0 +1,28 @@
|
|||||||
|
package com.baeldung.mockito.java8;
|
||||||
|
|
||||||
|
public class Person {
|
||||||
|
private String name;
|
||||||
|
private JobPosition currentJobPosition;
|
||||||
|
|
||||||
|
public Person() {}
|
||||||
|
|
||||||
|
public Person(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public JobPosition getCurrentJobPosition() {
|
||||||
|
return currentJobPosition;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCurrentJobPosition(JobPosition currentJobPosition) {
|
||||||
|
this.currentJobPosition = currentJobPosition;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.baeldung.mockito.java8;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
|
public interface UnemploymentService {
|
||||||
|
|
||||||
|
boolean personIsEntitledToUnemploymentSupport(Person person);
|
||||||
|
|
||||||
|
Optional<JobPosition> searchJob(Person person, String searchString);
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
package com.baeldung.mockito.java8;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
|
public class UnemploymentServiceImpl implements UnemploymentService {
|
||||||
|
private final JobService jobService;
|
||||||
|
|
||||||
|
public UnemploymentServiceImpl(JobService jobService) {
|
||||||
|
this.jobService = jobService;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean personIsEntitledToUnemploymentSupport(Person person) {
|
||||||
|
Optional<JobPosition> optional = jobService.findCurrentJobPosition(person);
|
||||||
|
|
||||||
|
return !optional.isPresent();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Optional<JobPosition> searchJob(Person person, String searchString) {
|
||||||
|
Stream<JobPosition> stream = jobService.listJobs(person);
|
||||||
|
|
||||||
|
return stream.filter((j) -> j.getTitle().contains(searchString)).findFirst();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,44 @@
|
|||||||
|
package com.baeldung.mockito.java8;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertFalse;
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
|
import static org.mockito.Mockito.when;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
|
import org.junit.Before;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.mockito.ArgumentMatchers;
|
||||||
|
import org.mockito.InjectMocks;
|
||||||
|
import org.mockito.Mock;
|
||||||
|
import org.mockito.MockitoAnnotations;
|
||||||
|
|
||||||
|
|
||||||
|
public class ArgumentMatcherWithLambdaUnitTest {
|
||||||
|
|
||||||
|
@InjectMocks
|
||||||
|
private UnemploymentServiceImpl unemploymentService;
|
||||||
|
|
||||||
|
@Mock
|
||||||
|
private JobService jobService;
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void whenPersonWithJob_thenIsNotEntitled() {
|
||||||
|
Person peter = new Person("Peter");
|
||||||
|
Person linda = new Person("Linda");
|
||||||
|
|
||||||
|
JobPosition teacher = new JobPosition("Teacher");
|
||||||
|
|
||||||
|
when(jobService.findCurrentJobPosition(
|
||||||
|
ArgumentMatchers.argThat((p) -> p.getName().equals("Peter")))
|
||||||
|
).thenReturn(Optional.of(teacher));
|
||||||
|
|
||||||
|
assertTrue(unemploymentService.personIsEntitledToUnemploymentSupport(linda));
|
||||||
|
assertFalse(unemploymentService.personIsEntitledToUnemploymentSupport(peter));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void init() {
|
||||||
|
MockitoAnnotations.initMocks(this);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,55 @@
|
|||||||
|
package com.baeldung.mockito.java8;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertFalse;
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
|
import static org.mockito.Mockito.when;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
|
import org.junit.Before;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.mockito.ArgumentMatchers;
|
||||||
|
import org.mockito.InjectMocks;
|
||||||
|
import org.mockito.ArgumentMatcher;
|
||||||
|
import org.mockito.Mock;
|
||||||
|
import org.mockito.MockitoAnnotations;
|
||||||
|
|
||||||
|
|
||||||
|
public class ArgumentMatcherWithoutLambdaUnitTest {
|
||||||
|
@InjectMocks
|
||||||
|
private UnemploymentServiceImpl unemploymentService;
|
||||||
|
|
||||||
|
@Mock
|
||||||
|
private JobService jobService;
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void whenPersonWithJob_thenIsNotEntitled() {
|
||||||
|
Person peter = new Person("Peter");
|
||||||
|
Person linda = new Person("Linda");
|
||||||
|
|
||||||
|
JobPosition teacher = new JobPosition("Teacher");
|
||||||
|
|
||||||
|
when(jobService.findCurrentJobPosition(
|
||||||
|
ArgumentMatchers.argThat(new PeterArgumentMatcher()))
|
||||||
|
).thenReturn(Optional.of(teacher));
|
||||||
|
|
||||||
|
assertTrue(unemploymentService.personIsEntitledToUnemploymentSupport(linda));
|
||||||
|
assertFalse(unemploymentService.personIsEntitledToUnemploymentSupport(peter));
|
||||||
|
}
|
||||||
|
|
||||||
|
private class PeterArgumentMatcher implements ArgumentMatcher<Person> {
|
||||||
|
@Override
|
||||||
|
public boolean matches(Person p) {
|
||||||
|
|
||||||
|
if (p.getName().equals("Peter")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void init() {
|
||||||
|
MockitoAnnotations.initMocks(this);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,45 @@
|
|||||||
|
package com.baeldung.mockito.java8;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertEquals;
|
||||||
|
import static org.junit.Assert.assertFalse;
|
||||||
|
import static org.mockito.ArgumentMatchers.any;
|
||||||
|
import static org.mockito.Mockito.when;
|
||||||
|
|
||||||
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
|
import org.junit.Before;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.mockito.InjectMocks;
|
||||||
|
import org.mockito.Mock;
|
||||||
|
import org.mockito.MockitoAnnotations;
|
||||||
|
|
||||||
|
public class CustomAnswerWithLambdaUnitTest {
|
||||||
|
@InjectMocks
|
||||||
|
private UnemploymentServiceImpl unemploymentService;
|
||||||
|
|
||||||
|
@Mock
|
||||||
|
private JobService jobService;
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void whenPersonWithJobHistory_thenSearchReturnsValue() {
|
||||||
|
Person peter = new Person("Peter");
|
||||||
|
|
||||||
|
assertEquals("Teacher", unemploymentService.searchJob(peter, "").get().getTitle());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void whenPersonWithNoJobHistory_thenSearchReturnsEmpty() {
|
||||||
|
Person linda = new Person("Linda");
|
||||||
|
|
||||||
|
assertFalse(unemploymentService.searchJob(linda, "").isPresent());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void init() {
|
||||||
|
MockitoAnnotations.initMocks(this);
|
||||||
|
|
||||||
|
when(jobService.listJobs(any(Person.class))).then((i) -> {
|
||||||
|
return ((Person) i.getArgument(0)).getName().equals("Peter") ? Stream.<JobPosition> builder().add(new JobPosition("Teacher")).build() : Stream.empty();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,59 @@
|
|||||||
|
package com.baeldung.mockito.java8;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertEquals;
|
||||||
|
import static org.junit.Assert.assertFalse;
|
||||||
|
import static org.mockito.ArgumentMatchers.any;
|
||||||
|
import static org.mockito.Mockito.when;
|
||||||
|
|
||||||
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
|
import org.junit.Before;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.mockito.InjectMocks;
|
||||||
|
import org.mockito.Mock;
|
||||||
|
import org.mockito.MockitoAnnotations;
|
||||||
|
import org.mockito.invocation.InvocationOnMock;
|
||||||
|
import org.mockito.stubbing.Answer;
|
||||||
|
|
||||||
|
|
||||||
|
public class CustomAnswerWithoutLambdaUnitTest {
|
||||||
|
@InjectMocks
|
||||||
|
private UnemploymentServiceImpl unemploymentService;
|
||||||
|
|
||||||
|
@Mock
|
||||||
|
private JobService jobService;
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void whenPersonWithJobHistory_thenSearchReturnsValue() {
|
||||||
|
Person peter = new Person("Peter");
|
||||||
|
|
||||||
|
assertEquals("Teacher", unemploymentService.searchJob(peter, "").get().getTitle());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void whenPersonWithNoJobHistory_thenSearchReturnsEmpty() {
|
||||||
|
Person linda = new Person("Linda");
|
||||||
|
|
||||||
|
assertFalse(unemploymentService.searchJob(linda, "").isPresent());
|
||||||
|
}
|
||||||
|
|
||||||
|
private class PersonAnswer implements Answer<Stream<JobPosition>> {
|
||||||
|
@Override
|
||||||
|
public Stream<JobPosition> answer(InvocationOnMock invocation) throws Throwable {
|
||||||
|
Person person = invocation.getArgument(0);
|
||||||
|
|
||||||
|
if(person.getName().equals("Peter")) {
|
||||||
|
return Stream.<JobPosition>builder().add(new JobPosition("Teacher")).build();
|
||||||
|
}
|
||||||
|
|
||||||
|
return Stream.empty();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void init() {
|
||||||
|
MockitoAnnotations.initMocks(this);
|
||||||
|
|
||||||
|
when(jobService.listJobs(any(Person.class))).then(new PersonAnswer());
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,44 @@
|
|||||||
|
package com.baeldung.mockito.java8;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertFalse;
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
|
import static org.mockito.Mockito.doCallRealMethod;
|
||||||
|
import static org.mockito.Mockito.when;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
|
||||||
|
import org.junit.Before;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.mockito.Mock;
|
||||||
|
import org.mockito.Mockito;
|
||||||
|
import org.mockito.MockitoAnnotations;
|
||||||
|
|
||||||
|
public class JobServiceUnitTest {
|
||||||
|
@Mock
|
||||||
|
private JobService jobService;
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void givenDefaultMethod_whenCallRealMethod_thenNoExceptionIsRaised() {
|
||||||
|
Person person = new Person();
|
||||||
|
|
||||||
|
when(jobService.findCurrentJobPosition(person)).thenReturn(Optional.of(new JobPosition()));
|
||||||
|
doCallRealMethod().when(jobService).assignJobPosition(Mockito.any(Person.class), Mockito.any(JobPosition.class));
|
||||||
|
|
||||||
|
assertFalse(jobService.assignJobPosition(person, new JobPosition()));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void givenReturnIsOfTypeOptional_whenDefaultValueIsReturned_thenValueIsEmpty() {
|
||||||
|
Person person = new Person();
|
||||||
|
|
||||||
|
when(jobService.findCurrentJobPosition(person)).thenReturn(Optional.empty());
|
||||||
|
doCallRealMethod().when(jobService).assignJobPosition(Mockito.any(Person.class), Mockito.any(JobPosition.class));
|
||||||
|
|
||||||
|
assertTrue(jobService.assignJobPosition(person, new JobPosition()));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void init() {
|
||||||
|
MockitoAnnotations.initMocks(this);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,62 @@
|
|||||||
|
package com.baeldung.mockito.java8;
|
||||||
|
|
||||||
|
import static org.junit.Assert.assertFalse;
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
|
import static org.mockito.Matchers.any;
|
||||||
|
import static org.mockito.Mockito.when;
|
||||||
|
|
||||||
|
import java.util.Optional;
|
||||||
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
|
import org.junit.Before;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.mockito.InjectMocks;
|
||||||
|
import org.mockito.Mock;
|
||||||
|
import org.mockito.MockitoAnnotations;
|
||||||
|
|
||||||
|
public class UnemploymentServiceImplUnitTest {
|
||||||
|
@Mock
|
||||||
|
private JobService jobService;
|
||||||
|
|
||||||
|
@InjectMocks
|
||||||
|
private UnemploymentServiceImpl unemploymentService;
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void givenReturnIsOfTypeOptional_whenMocked_thenValueIsEmpty() {
|
||||||
|
Person person = new Person();
|
||||||
|
|
||||||
|
when(jobService.findCurrentJobPosition(any(Person.class))).thenReturn(Optional.empty());
|
||||||
|
|
||||||
|
assertTrue(unemploymentService.personIsEntitledToUnemploymentSupport(person));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void givenReturnIsOfTypeOptional_whenDefaultValueIsReturned_thenValueIsEmpty() {
|
||||||
|
Person person = new Person();
|
||||||
|
|
||||||
|
// This will fail when Mockito 1 is used
|
||||||
|
assertTrue(unemploymentService.personIsEntitledToUnemploymentSupport(person));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void givenReturnIsOfTypeStream_whenMocked_thenValueIsEmpty() {
|
||||||
|
Person person = new Person();
|
||||||
|
|
||||||
|
when(jobService.listJobs(any(Person.class))).thenReturn(Stream.empty());
|
||||||
|
|
||||||
|
assertFalse(unemploymentService.searchJob(person, "").isPresent());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void givenReturnIsOfTypeStream_whenDefaultValueIsReturned_thenValueIsEmpty() {
|
||||||
|
Person person = new Person();
|
||||||
|
|
||||||
|
// This will fail when Mockito 1 is used
|
||||||
|
assertFalse(unemploymentService.searchJob(person, "").isPresent());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Before
|
||||||
|
public void init() {
|
||||||
|
MockitoAnnotations.initMocks(this);
|
||||||
|
}
|
||||||
|
}
|
1
pom.xml
1
pom.xml
@ -84,6 +84,7 @@
|
|||||||
<module>metrics</module>
|
<module>metrics</module>
|
||||||
<module>mesos-marathon</module>
|
<module>mesos-marathon</module>
|
||||||
<module>mockito</module>
|
<module>mockito</module>
|
||||||
|
<module>mockito2</module>
|
||||||
<module>mocks</module>
|
<module>mocks</module>
|
||||||
|
|
||||||
<module>orika</module>
|
<module>orika</module>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user