Tests
This commit is contained in:
parent
2aa6718424
commit
f230bd8937
1 changed files with 22 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
|||
package ch.usi.inf.sa4.sanmarinoes.smarthut.config;
|
||||
|
||||
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class EmailConfigurationServiceTests {
|
||||
@Test
|
||||
public void test() {
|
||||
final EmailConfigurationService s = new EmailConfigurationService();
|
||||
s.setResetPasswordSubject("s");
|
||||
s.setResetPassword("s");
|
||||
s.setResetPasswordPath("s");
|
||||
s.setResetPasswordRedirect("s");
|
||||
s.setRegistrationRedirect("s");
|
||||
assertThat(s.getResetPasswordSubject()).isEqualTo("s");
|
||||
assertThat(s.getResetPassword()).isEqualTo("s");
|
||||
assertThat(s.getResetPasswordPath()).isEqualTo("s");
|
||||
assertThat(s.getResetPasswordRedirect()).isEqualTo("s");
|
||||
assertThat(s.getRegistrationRedirect()).isEqualTo("s");
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue