import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
-import static org.junit.jupiter.api.Assertions.assertTrue;
+import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.fail;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
var docServiceTemplate = new DocToscaServiceTemplate(inputServiceTemplateProperties);
var docServiceTemplateCopy = new DocToscaServiceTemplate(docServiceTemplate);
- assertTrue(docServiceTemplate.compareTo(docServiceTemplateCopy) < -1);
+ assertNotEquals(0, docServiceTemplate.compareTo(docServiceTemplateCopy));
assertThat(docServiceTemplate.compareToWithoutEntities(docServiceTemplateCopy)).isZero();
var acmDefinition = getAcDefinition(docServiceTemplate);