BAEL-17439 Slice 18 | The top 100 articles should have their own package in the module (#7754)
This commit is contained in:
parent
c52a637aea
commit
4cfb4b8d25
|
@ -1,11 +1,12 @@
|
|||
package com.baeldung.definition;
|
||||
package com.baeldung.springbean;
|
||||
|
||||
import com.baeldung.definition.domain.Address;
|
||||
import com.baeldung.definition.domain.Company;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
import com.baeldung.springbean.domain.Address;
|
||||
import com.baeldung.springbean.domain.Company;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan(basePackageClasses = Company.class)
|
||||
public class Config {
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.definition.domain;
|
||||
package com.baeldung.springbean.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.baeldung.definition.domain;
|
||||
package com.baeldung.springbean.domain;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
|
@ -1,11 +1,12 @@
|
|||
package com.baeldung.definition;
|
||||
package com.baeldung.springbean;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import com.baeldung.definition.domain.Company;
|
||||
import org.junit.Test;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import com.baeldung.springbean.domain.Company;
|
||||
|
||||
public class SpringBeanIntegrationTest {
|
||||
@Test
|
Loading…
Reference in New Issue