Package restapi

Class UserPublicEndpointTest

java.lang.Object
restapi.UserPublicEndpointTest

@SpringBootTest @AutoConfigureMockMvc @TestMethodOrder(org.junit.jupiter.api.MethodOrderer.Alphanumeric.class) public class UserPublicEndpointTest 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
  • Constructor Details

    • UserPublicEndpointTest

      public UserPublicEndpointTest()
  • Method Details

    • aLoginUsernameNotInDB

      @Test public void aLoginUsernameNotInDB() throws Exception
      Throws:
      Exception
    • bCorrectSignup

      @Test public void bCorrectSignup() throws Exception
      Throws:
      Exception
    • cCorrectLogin

      @Test public void cCorrectLogin() throws Exception
      Throws:
      Exception
    • cLoginWrongPassword

      @Test public void cLoginWrongPassword() throws Exception
      Throws:
      Exception
    • aCorrectLoginAfterSignup

      @Test public void aCorrectLoginAfterSignup() throws Exception
      Throws:
      Exception
    • aSignupPhoneEmail

      @Test public void aSignupPhoneEmail() throws Exception
      Throws:
      Exception
    • bSignupUsernameAlreadyInUse

      @Test public void bSignupUsernameAlreadyInUse() throws Exception
      Throws:
      Exception
    • bSignupEmailAlreadyInUse

      @Test public void bSignupEmailAlreadyInUse() throws Exception
      Throws:
      Exception
    • bLoginEmail

      @Test public void bLoginEmail() throws Exception
      Throws:
      Exception
    • bLoginPhoneWrong

      @Test public void bLoginPhoneWrong() throws Exception
      Throws:
      Exception
    • bLoginEmailWrong

      @Test public void bLoginEmailWrong() throws Exception
      Throws:
      Exception
    • dLoginLogoutEverywhere

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