use of com.thoughtworks.go.config.MingleConfig in project gocd by gocd.
the class MingleCardTest method shouldNotBeEqualToAnotherMingleCardWithDifferentConfigButSameCardNumber.
@Test
public void shouldNotBeEqualToAnotherMingleCardWithDifferentConfigButSameCardNumber() {
MingleCard card1 = new MingleCard(new MingleConfig("mingle-url", "project-name", null), "#1234");
MingleCard card2 = new MingleCard(new MingleConfig("mingle-url", "another-project-name", null), "#1234");
assertThat(card1.equals(card2), is(false));
}
use of com.thoughtworks.go.config.MingleConfig in project gocd by gocd.
the class MingleCardTest method shouldNotBeEqualToAnotherMingleCardWithSameConfigButDifferentCardNumber.
@Test
public void shouldNotBeEqualToAnotherMingleCardWithSameConfigButDifferentCardNumber() {
MingleCard card1 = new MingleCard(new MingleConfig("mingle-url", "project-name", null), "#1234");
MingleCard card2 = new MingleCard(new MingleConfig("mingle-url", "project-name", null), "#5678");
assertThat(card1.equals(card2), is(false));
}
Aggregations