Package restapi

Class ContactEndpointTest

java.lang.Object
restapi.ContactEndpointTest

@SpringBootTest @AutoConfigureMockMvc @TestMethodOrder(org.junit.jupiter.api.MethodOrderer.Alphanumeric.class) public class ContactEndpointTest extends Object
  • Field Details

    • mockMvc

      @Autowired private org.springframework.test.web.servlet.MockMvc mockMvc
    • objectMapper

      @Autowired private com.fasterxml.jackson.databind.ObjectMapper objectMapper
    • firebaseService

      @MockBean private FirebaseService firebaseService
    • username1

      private static final String username1
      See Also:
    • username2

      private static final String username2
      See Also:
    • username3

      private static final String username3
      See Also:
    • username4

      private static final String username4
      See Also:
    • password

      private static final String password
      See Also:
    • token1

      private static String token1
    • token2

      private static String token2
    • token3

      private static String token3
    • id1

      private static long id1
    • id2

      private static long id2
    • id3

      private static long id3
  • Constructor Details

    • ContactEndpointTest

      public ContactEndpointTest()
  • Method Details

    • AaSetUp

      @Test public void AaSetUp() throws Exception
      Throws:
      Exception
    • aBlockAContactOnlyShowingForBlocker

      @Test public void aBlockAContactOnlyShowingForBlocker() throws Exception
      Throws:
      Exception
    • aExistPhones

      @Test public void aExistPhones() throws Exception
      Throws:
      Exception