/*
- * ================================================================================
+ * ============LICENSE_START=======================================================
* Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright (c) 2022 Huawei. All rights reserved.
* ================================================================================
* 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.dcae.analytics.web.config;
-import com.fasterxml.jackson.databind.ObjectMapper;
+import org.junit.jupiter.api.Test;
-import org.onap.dcae.analytics.model.util.json.AnalyticsModelJsonConversion;
-import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.context.annotation.Import;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
-/**
- * @author Rajiv Singla
- */
-@Configuration
-@EnableAutoConfiguration
-@Import(value = {AnalyticsWebConfig.class, DmaapMrTestConfig.class})
public class AnalyticsWebTestConfig {
- @Bean
- public ObjectMapper objectMapper() {
- return AnalyticsModelJsonConversion.ANALYTICS_MODEL_OBJECT_MAPPER;
+ @Test
+ public void AnalyticsWebTestConfigTest () throws Exception {
+ AnalyticsWebConfig analyticsWebConfig = new AnalyticsWebConfig();
+ assertNotNull(analyticsWebConfig);
}
-
}