summaryrefslogtreecommitdiffstats
path: root/infra/translate-utils/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'infra/translate-utils/src/test/java')
-rw-r--r--infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/read/ReflexiveListReaderCustomizerTest.java4
-rw-r--r--infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/read/ReflexiveReaderCustomizerTest.java26
2 files changed, 17 insertions, 13 deletions
diff --git a/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/read/ReflexiveListReaderCustomizerTest.java b/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/read/ReflexiveListReaderCustomizerTest.java
index 2cc934546..aa1d0f925 100644
--- a/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/read/ReflexiveListReaderCustomizerTest.java
+++ b/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/read/ReflexiveListReaderCustomizerTest.java
@@ -95,7 +95,7 @@ public class ReflexiveListReaderCustomizerTest {
}
@Override
- public TestingListKey getKey() {
+ public TestingListKey key() {
return key;
}
@@ -133,7 +133,7 @@ public class ReflexiveListReaderCustomizerTest {
return new TestingListObject(key);
}
- public TestingListObjectBuilder setKey(final TestingListObject.TestingListKey key) {
+ public TestingListObjectBuilder withKey(final TestingListObject.TestingListKey key) {
this.key = key;
return this;
}
diff --git a/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/read/ReflexiveReaderCustomizerTest.java b/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/read/ReflexiveReaderCustomizerTest.java
index cf341a74e..977c0316a 100644
--- a/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/read/ReflexiveReaderCustomizerTest.java
+++ b/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/read/ReflexiveReaderCustomizerTest.java
@@ -16,21 +16,25 @@
package io.fd.honeycomb.translate.util.read;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.mockito.Mockito.spy;
+import static org.mockito.Mockito.verifyZeroInteractions;
+
import com.google.common.collect.Lists;
import io.fd.honeycomb.translate.read.ReadContext;
+import java.util.Collections;
+import java.util.List;
+import javax.annotation.Nonnull;
import org.junit.Test;
import org.mockito.Mock;
import org.opendaylight.yangtools.concepts.Builder;
-import org.opendaylight.yangtools.yang.binding.*;
-
-import javax.annotation.Nonnull;
-import java.util.Collections;
-import java.util.List;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.mockito.Mockito.spy;
-import static org.mockito.Mockito.verifyZeroInteractions;
+import org.opendaylight.yangtools.yang.binding.Augmentation;
+import org.opendaylight.yangtools.yang.binding.DataContainer;
+import org.opendaylight.yangtools.yang.binding.DataObject;
+import org.opendaylight.yangtools.yang.binding.Identifiable;
+import org.opendaylight.yangtools.yang.binding.Identifier;
+import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
public class ReflexiveReaderCustomizerTest {
@@ -111,7 +115,7 @@ public class ReflexiveReaderCustomizerTest {
}
@Override
- public TestingListKey getKey() {
+ public TestingListKey key() {
return new TestingListKey();
}