Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class CategorieClientTest {
- CategorieClient catC;
- String nom = "Toto";
- int max = 20;
- double cot = 20;
- double coefDuree = 2;
- double coefTarif = 2;
- boolean codeReducActif = true;
- @Before
- public void setUp(){
- }
- @Test
- public void testCategorieClientStringIntDoubleDoubleDoubleBoolean() {
- catC = new CategorieClient(null, max, cot, coefDuree, coefTarif, codeReducActif);
- assertFalse(catC.getNom() == null);
- }
- @Test
- public void testCategorieClientString() {
- catC = new CategorieClient(null);
- assertFalse(catC.getNom() == null);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement