@Test
public void toStringWorks() {

    DataSource dataSource1 = mock(DataSource.class);
    when(dataSource1.toString()).thenReturn("dataSource1");
    assertEquals("DataSourceDestination [dataSource=dataSource1]",
                 new DataSourceDestination(dataSource1).toString());
}