use of com.synopsys.integration.blackduck.api.core.response.LinkBlackDuckResponse in project blackduck-common-api by blackducksoftware.
the class LinkBlackDuckResponseTest method testLinkResponseEquality.
@Test
public void testLinkResponseEquality() {
final LinkBlackDuckResponse linkResponse1 = new LinkSingleResponse<>("uri", ProjectView.class);
final LinkBlackDuckResponse linkResponse2 = new LinkMultipleResponses<>("uri", ProjectView.class);
final LinkBlackDuckResponse linkResponse3 = new LinkSingleResponse<>("uri", ProjectView.class);
assertNotEquals(linkResponse1, linkResponse2);
assertEquals(linkResponse1, linkResponse3);
}
Aggregations