mirror of
https://github.com/dnpm-dip/mv64e-mtb-dto-java.git
synced 2025-07-03 19:12:55 +00:00
Initial commit
This commit is contained in:
16
src/test/java/dev/pcvolkmer/mv64e/mtb/ConverterTest.java
Normal file
16
src/test/java/dev/pcvolkmer/mv64e/mtb/ConverterTest.java
Normal file
@ -0,0 +1,16 @@
|
||||
package dev.pcvolkmer.mv64e.mtb;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class ConverterTest {
|
||||
|
||||
@Test
|
||||
void shouldDeserializeJsonString() throws IOException {
|
||||
var ressource = getClass().getClassLoader().getResource("mv64e-mtb-fake-patient.json");
|
||||
|
||||
Converter.fromJsonString(new String(ressource.openStream().readAllBytes()));
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user