when(avroLilyTransceiver.getLilyProxy()).thenReturn(avroLily);
avroConverter = mock(AvroConverter.class);
recordTable = mock(HTableInterface.class);
RemoteTableManager tableMgr = new RemoteTableManager(repositoryName, avroLilyTransceiver, avroConverter);
remoteRepository = new RemoteRepository(new RepoTableKey(repositoryName, Table.RECORD.name), avroLilyTransceiver,
avroConverter, mock(RemoteRepositoryManager.class), mock(BlobManager.class), recordTable, recordTable,
tableMgr, mock(RecordFactory.class));
}