fix: PixelTest
This commit is contained in:
parent
1b192bc254
commit
b4abd530e6
|
@ -5,6 +5,8 @@ import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
|
|
||||||
|
import java.awt.Color;
|
||||||
|
|
||||||
import org.apache.commons.lang3.SerializationUtils;
|
import org.apache.commons.lang3.SerializationUtils;
|
||||||
|
|
||||||
public class PixelTest {
|
public class PixelTest {
|
||||||
|
@ -13,9 +15,7 @@ public class PixelTest {
|
||||||
|
|
||||||
@BeforeAll
|
@BeforeAll
|
||||||
public static void setUp() throws Exception {
|
public static void setUp() throws Exception {
|
||||||
pixel = new Pixel();
|
pixel = new Pixel(10, new Color(255, 255, 255), "pixel de test");
|
||||||
pixel.setId(123456789L);
|
|
||||||
pixel.setPrice(10);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in a new issue