@Test
public void convertCitations() throws Exception {

    
    // given
    
    
    
    doReturn(citations).when(references).mapPartitionsToPair(Mockito.any());
    
    // execute
    
    JavaPairRDD<String, MatchableEntity> convertedCitations = coansysInputCitationConverter.convertCitations(references);
    
    
    // assert
    
    assertTrue(citations == convertedCitations);
    
    verify(references).mapPartitionsToPair(convertToMatchableEntitiesFunction.capture());
    assertConvertToMatchableEntitiesFunction(convertToMatchableEntitiesFunction.getValue());
    
}