@Test
public void toStringWorks() throws SQLException {

    Destination destination1 = mock(Destination.class);
    when(destination1.toString()).thenReturn("destination1");
    Operation operation1 = mock(Operation.class);
    when(operation1.toString()).thenReturn("operation1");
    BinderConfiguration config1 = mock(BinderConfiguration.class);
    when(config1.toString()).thenReturn("config1");
    DbSetup setup1 = new DbSetup(destination1, operation1, config1);
    assertEquals("DbSetup [destination=destination1, operation=operation1, binderConfiguration=config1]",
                 setup1.toString());
}