* ONAP PAP
* ================================================================================
* Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2022 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
package org.onap.policy.pap.main.rest.e2e;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
import java.net.HttpURLConnection;
import javax.ws.rs.client.Invocation;
assertEquals(NAME, report.getName());
assertEquals(SELF, report.getUrl());
- assertEquals(true, report.isHealthy());
+ assertTrue(report.isHealthy());
assertEquals(HttpURLConnection.HTTP_OK, report.getCode());
assertEquals(ALIVE, report.getMessage());
}