SHARE
TWEET

example

a guest Apr 21st, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.ikddesigne.renoclubbulgaria.integration.service;
  2.  
  3. import com.ikddesigne.renoclubbulgaria.repository.PartnerRepository;
  4. import com.ikddesigne.renoclubbulgaria.service.api.CloudinaryService;
  5. import com.ikddesigne.renoclubbulgaria.service.api.PartnerService;
  6. import org.junit.Before;
  7. import org.junit.Test;
  8. import org.junit.runner.RunWith;
  9. import org.springframework.beans.factory.annotation.Autowired;
  10. import org.springframework.boot.test.context.SpringBootTest;
  11. import org.springframework.boot.test.mock.mockito.MockBean;
  12. import org.springframework.test.context.junit4.SpringRunner;
  13.  
  14. @SpringBootTest
  15. @RunWith(SpringRunner.class)
  16. public class PartnerServiceTests {
  17.  
  18.     @Autowired
  19.     private PartnerService partnerService;
  20.  
  21.     @MockBean
  22.     private PartnerRepository partnerRepository;
  23.  
  24.     @MockBean
  25.     private CloudinaryService cloudinaryService;
  26.  
  27.     @Before
  28.     public void setUp() {}
  29.  
  30.     @Test
  31.     public void addPartner_test() {
  32.        
  33.     }
  34. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top