Created
April 17, 2018 23:25
-
-
Save denispeyrusaubes/7b8d158bedcf9cee14b380323324825f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.retengr.model.Client; | |
| import com.retengr.model.Compte; | |
| import com.retengr.service.BanqueService; | |
| import org.junit.Assert; | |
| import org.junit.BeforeClass; | |
| import org.junit.Test; | |
| import org.springframework.context.ApplicationContext; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| public class SpringContextTest { | |
| private static ApplicationContext ctx; | |
| @BeforeClass | |
| public static void init() { | |
| // TODO : Initialisez le contexte Spring | |
| ctx = <TOCOMPLETE> | |
| } | |
| @Test | |
| public void testNombreDeBean() { | |
| // TODO : Vérifiez que 3 beans sont bien déclarés dans le contexte | |
| <TOCOMPLETE> | |
| // TODO : Affichez le nom de ces 3 beans | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment