	@SuppressWarnings("unchecked")
	@Test public void testRegisterOnDataSetSwapListener() {

		// Arrange:
		final SimpleAdapterDataSet<String> mockDataSet = mock(TestDataSet.class);
		final SimpleListAdapter<TestAdapter, ViewHolder, String> adapter = new TestAdapter(context, mockDataSet);
		final OnDataSetSwapListener mockListener = mock(OnDataSetSwapListener.class);
		final List<String> items = Collections.emptyList();
		// Act:
		adapter.registerOnDataSetSwapListener(mockListener);
		adapter.registerOnDataSetSwapListener(mockListener);
		// Assert:
		adapter.notifyItemsSwapFinished(items);
		verify(mockListener).onDataSetSwapFinished(items);
		verifyNoMoreInteractions(mockListener);
	}