mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 10:21:52 +02:00
Workaround for ambiguous isA method
- Eclipse complains isA() is ambiguous. 'isA' method does exist in both EasyMock and hamcrest Matcher. Change-Id: I6b98dbe1b4f1f0ce4fcbc2dcaded9b666fc19b33
This commit is contained in:
parent
d0fd841978
commit
293ede0bcf
@ -46,9 +46,11 @@ import java.net.URI;
|
||||
import java.util.Optional;
|
||||
|
||||
import static org.easymock.EasyMock.*;
|
||||
import static org.easymock.EasyMock.isA;
|
||||
import static org.hamcrest.MatcherAssert.assertThat;
|
||||
import static org.hamcrest.Matchers.*;
|
||||
import static org.hamcrest.Matchers.containsString;
|
||||
import static org.hamcrest.Matchers.hasSize;
|
||||
import static org.hamcrest.Matchers.is;
|
||||
import static org.hamcrest.Matchers.notNullValue;
|
||||
|
||||
/**
|
||||
* Unit tests for applications REST APIs.
|
||||
@ -151,6 +153,7 @@ public class ApplicationsResourceTest extends ResourceTest {
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
@Before
|
||||
public void setUp() {
|
||||
service = createMock(ApplicationAdminService.class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user