mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
N001-Test new issue - Add new test
This commit is contained in:
parent
cd729830dc
commit
cba4408597
1 changed files with 9 additions and 9 deletions
|
@ -1,17 +1,17 @@
|
|||
package org.springframework.samples.petclinic;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@SpringBootTest
|
||||
public class TestNoord {
|
||||
@Test
|
||||
public void simpleTest() {
|
||||
assertTrue(true);
|
||||
public void simpleTestTrue() {
|
||||
assertThat(true).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void simpleTestFalse() {
|
||||
assertThat(false).isFalse();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue