* ============LICENSE_START=======================================================
* ONAP : APPC
* ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Copyright (C) 2017 Amdocs
* =============================================================================
* See the License for the specific language governing permissions and
* limitations under the License.
*
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
package org.onap.appc.cache.impl;
+import static org.mockito.Mockito.spy;
import org.junit.Assert;
import org.junit.Test;
import org.onap.appc.cache.CacheStrategies;
import org.powermock.reflect.Whitebox;
-import static org.mockito.Mockito.spy;
-
public class MetadataCacheImplTest {
@Test
public void testConstructor() throws Exception {
Whitebox.getInternalState(impl, "strategy") == null);
}
- @SuppressWarnings("unchecked")
@Test
public void testGetAndPutObject() throws Exception {
MetadataCacheImpl impl = spy(new MetadataCacheImpl<>());