org.hobsoft.symmetry.ui.test.model
Class ListModelSupport
java.lang.Object
org.hobsoft.symmetry.ui.test.model.ListModelSupport
public final class ListModelSupport
- extends Object
- Author:
- Mark Hobson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createItem
public static Object createItem()
createItems
public static Object[] createItems()
createItemsAsList
public static List<Object> createItemsAsList()
mockModel
public static <T> ListModel<T> mockModel(org.jmock.Mockery mockery,
T... items)
assertListModelEmpty
public static void assertListModelEmpty(ListModel<?> actual)
assertListModel
public static void assertListModel(ListModel<?> actual,
Object... expectedItems)
assertListModel
public static void assertListModel(List<Object> expectedItems,
ListModel<?> actual)
Copyright © 2004-2012. All Rights Reserved.