Fixing sonar issues in xacml-pdp
[policy/xacml-pdp.git] / applications / match / src / test / java / org / onap / policy / xacml / pdp / application / match / MatchPdpApplicationTest.java
index a855f3e..b022bca 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP
  * ================================================================================
- * Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2020-2022 AT&T Intellectual Property. All rights reserved.
  * Modifications Copyright (C) 2021 Nordix Foundation.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -142,7 +142,7 @@ public class MatchPdpApplicationTest {
         //
         // Decisions
         //
-        assertThat(service.actionDecisionsSupported().size()).isEqualTo(1);
+        assertThat(service.actionDecisionsSupported()).hasSize(1);
         assertThat(service.actionDecisionsSupported()).contains("match");
         //
         // Ensure it has the supported policy types and