/*
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

package com.mpalourdio.springboottemplate.generics;

import app.config.BeanConfig;
import com.mpalourdio.springboottemplate.AbstractTestRunner;
import com.mpalourdio.springboottemplate.model.Task;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Import;

@Import({BeanConfig.class})
public class BeanFromConfigurationClassTest extends AbstractTestRunner {

    @Autowired
    public BeanFromConfigurationClass<Task> beanFromConfigurationClass;

    @Test
    public void test() {
        final Task task = beanFromConfigurationClass.getInstance();
        Assert.assertEquals("fromBeanConfiguration", task.getTaskName());
    }
}





@@ -1063,16 +1063,43 @@
 oid test
+ImportBeanConfigurationFile
 () %7B%0A   

Rename method