You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
410 B

package com.example.wfwebapi.model;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class ImageTest {
@Test
void testGettersAndSetters() {
Image image = new Image();
image.setId(1L);
image.setImgPath("/images/avatar.png");
assertEquals(1L, image.getId());
assertEquals("/images/avatar.png", image.getImgPath());
}
}