This commit is contained in:
Claudio Maggioni (maggicl) 2020-05-27 11:52:44 +02:00
parent 2aa6718424
commit f230bd8937

View file

@ -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");
}
}