// Path: config-client-vault/src/main/java/de/dominikschadow/configclient/ConfigClientVaultProperties.java
// @ConfigurationProperties(prefix = "config.client.vault")
// @Getter
// @Setter
// public class ConfigClientVaultProperties {
//     private Application application;
//     private Contact contact;
//     private String version;
//     private String licenseName;
//     private String licenseUrl;
//     private String title;
//     private String description;
// 
//     /**
//      * Basic application information.
//      */
//     @Getter
//     @Setter
//     public static class Application {
//         private String name;
//         private String profile;
//     }
// 
//     @Getter
//     @Setter
//     public static class Contact {
//         private String name;
//         private String url;
//         private String email;
//     }
// }


import de.dominikschadow.configclient.ConfigClientVaultProperties;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
import org.springframework.test.web.servlet.result.MockMvcResultMatchers;
import static org.mockito.BDDMockito.given;
/*
 * Copyright (C) 2021 Dominik Schadow, dominikschadow@gmail.com
 *
 * This file is part of the Cloud Security project.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package de.dominikschadow.configclient.info;



/**
 * Tests the {@link AboutController} class.
 *
 * @author Dominik Schadow
 */
@WebMvcTest(AboutController.class)
class AboutControllerTest {
// Path: config-client-vault/src/main/java/de/dominikschadow/configclient/ConfigClientVaultProperties.java
// @ConfigurationProperties(prefix = "config.client.vault")
// @Getter
// @Setter
// public class ConfigClientVaultProperties {
//     private Application application;
//     private Contact contact;
//     private String version;
//     private String licenseName;
//     private String licenseUrl;
//     private String title;
//     private String description;
// 
//     /**
//      * Basic application information.
//      */
//     @Getter
//     @Setter
//     public static class Application {
//         private String name;
//         private String profile;
//     }
// 
//     @Getter
//     @Setter
//     public static class Contact {
//         private String name;
//         private String url;
//         private String email;
//     }
// }


// Path: config-client-vault/src/test/java/de/dominikschadow/configclient/info/AboutControllerTest.java
import de.dominikschadow.configclient.ConfigClientVaultProperties;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.web.servlet.MockMvc;
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
import org.springframework.test.web.servlet.result.MockMvcResultMatchers;
import static org.mockito.BDDMockito.given;

/*
 * Copyright (C) 2021 Dominik Schadow, dominikschadow@gmail.com
 *
 * This file is part of the Cloud Security project.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package de.dominikschadow.configclient.info;



/**
 * Tests the {@link AboutController} class.
 *
 * @author Dominik Schadow
 */
@WebMvcTest(AboutController.class)
class AboutControllerTest {
    @Autowired