DbSetup { @Override public String toString() { return "DbSetup [destination=" + destination + ", operation=" + operation + ", binderConfiguration=" + binderConfiguration + "]"; } DbSetup(@Nonnull Destination destination, @Nonnull Operation operation);  DbSetup(@Nonnull Destination destination,
                   @Nonnull Operation operation,
                   @Nonnull BinderConfiguration binderConfiguration); void launch(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }
@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()); }