Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.m2m.atl.emftvm.tests/src/org/eclipse/m2m/atl/emftvm/util/tests/LazyListTest.java')
-rw-r--r--tests/org.eclipse.m2m.atl.emftvm.tests/src/org/eclipse/m2m/atl/emftvm/util/tests/LazyListTest.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/org.eclipse.m2m.atl.emftvm.tests/src/org/eclipse/m2m/atl/emftvm/util/tests/LazyListTest.java b/tests/org.eclipse.m2m.atl.emftvm.tests/src/org/eclipse/m2m/atl/emftvm/util/tests/LazyListTest.java
index d27a9841..b1895cdc 100644
--- a/tests/org.eclipse.m2m.atl.emftvm.tests/src/org/eclipse/m2m/atl/emftvm/util/tests/LazyListTest.java
+++ b/tests/org.eclipse.m2m.atl.emftvm.tests/src/org/eclipse/m2m/atl/emftvm/util/tests/LazyListTest.java
@@ -99,6 +99,32 @@ public class LazyListTest extends LazyCollectionTest {
}
/**
+ * Tests {@link LazyList#move(int, int)}.
+ */
+ public void testMove__int_int() {
+ final LazyList<String> list = getTestLazyCollection();
+ try {
+ list.move(0, 1);
+ fail("Expected UnsupportedOperationException");
+ } catch (UnsupportedOperationException e) {
+ // expected
+ }
+ }
+
+ /**
+ * Tests {@link LazyList#move(int, int)}.
+ */
+ public void testMove__int_Object() {
+ final LazyList<String> list = getTestLazyCollection();
+ try {
+ list.move(1, list.first());
+ fail("Expected UnsupportedOperationException");
+ } catch (UnsupportedOperationException e) {
+ // expected
+ }
+ }
+
+ /**
* Tests {@link LazyList#append(Object)}.
*/
public void testAppend() {

Back to the top