// Path: src/main/java/org/cloudfoundry/community/servicebroker/datalifecycle/dto/InstancePair.java
// public class InstancePair {
// 
// 	private String sourceInstance;
// 	private String copyInstance;
// 
// 	public InstancePair(String sourceInstance, String copyInstance) {
// 		this.sourceInstance = sourceInstance;
// 		this.copyInstance = copyInstance;
// 	}
// 
// 	public String getSource() {
// 		return sourceInstance;
// 	}
// 
// 	public String getCopy() {
// 		return copyInstance;
// 	}
// 
// 	@Override
// 	public boolean equals(Object lhs) {
// 		return lhs instanceof InstancePair && this.hashCode() == lhs.hashCode();
// 	}
// 
// 	@Override
// 	public int hashCode() {
// 		return sourceInstance.hashCode() + copyInstance.hashCode();
// 	}
// }


import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.not;
import static org.junit.Assert.assertThat;
import org.cloudfoundry.community.servicebroker.datalifecycle.dto.InstancePair;
import org.junit.Test;
package org.cloudfoundry.community.servicebroker.datalifecycle.dto;



public class InstancePairTest {

	@Test
	public void theyAreEqual() {
// Path: src/main/java/org/cloudfoundry/community/servicebroker/datalifecycle/dto/InstancePair.java
// public class InstancePair {
// 
// 	private String sourceInstance;
// 	private String copyInstance;
// 
// 	public InstancePair(String sourceInstance, String copyInstance) {
// 		this.sourceInstance = sourceInstance;
// 		this.copyInstance = copyInstance;
// 	}
// 
// 	public String getSource() {
// 		return sourceInstance;
// 	}
// 
// 	public String getCopy() {
// 		return copyInstance;
// 	}
// 
// 	@Override
// 	public boolean equals(Object lhs) {
// 		return lhs instanceof InstancePair && this.hashCode() == lhs.hashCode();
// 	}
// 
// 	@Override
// 	public int hashCode() {
// 		return sourceInstance.hashCode() + copyInstance.hashCode();
// 	}
// }


// Path: src/test/java/org/cloudfoundry/community/servicebroker/datalifecycle/dto/InstancePairTest.java
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.not;
import static org.junit.Assert.assertThat;
import org.cloudfoundry.community.servicebroker.datalifecycle.dto.InstancePair;
import org.junit.Test;

package org.cloudfoundry.community.servicebroker.datalifecycle.dto;



public class InstancePairTest {

	@Test
	public void theyAreEqual() {
		assertThat(new InstancePair("source", "copy"),