Chart chart = new Chart();
chart.setName( "Billboard" );
chart.setType( "record-sales" );
ChartEntry chartEntry = ArtistToChartEntry.MAPPER.map( chart, song, 1 );
assertThat( chartEntry ).isNotNull();
assertThat( chartEntry.getArtistName() ).isEqualTo( "The Beatles" );
assertThat( chartEntry.getChartName() ).isEqualTo( "Billboard" );
assertThat( chartEntry.getCity() ).isEqualTo( "London" );
assertThat( chartEntry.getPosition() ).isEqualTo( 1 );
assertThat( chartEntry.getRecordedAt() ).isEqualTo( "Abbey Road" );
assertThat( chartEntry.getTitle() ).isEqualTo( "A Hard Day's Night" );
}