Revize abaa5f46
Přidáno uživatelem Jakub Šmíd před asi 2 roky(ů)
- ID abaa5f461242c640ae1e7daaddb6bfc1b1419db9
- Rodič c1df89f5
backend/src/test/java/cz/zcu/kiv/backendapi/type/TypeServiceImplTest.java | ||
---|---|---|
7 | 7 |
import org.mockito.Mock; |
8 | 8 |
import org.mockito.junit.jupiter.MockitoExtension; |
9 | 9 |
|
10 |
|
|
11 | 10 |
import static org.assertj.core.api.AssertionsForClassTypes.assertThat; |
12 | 11 |
import static org.mockito.Mockito.verify; |
13 | 12 |
|
... | ... | |
27 | 26 |
@Test |
28 | 27 |
void saveType() { |
29 | 28 |
// when |
30 |
Type type = new Type("type"); |
|
29 |
Type type = new Type(); |
|
30 |
type.setType("type"); |
|
31 | 31 |
underTest.saveType(type); |
32 | 32 |
|
33 | 33 |
// then |
Také k dispozici: Unified diff
Experiment with database