Added AdapterMock and SelectedRow classes

AdapterMock is a test class