Merge pull request #13931 from anuragkumawat/JAVA-20898
JAVA-20898 Check Article Code Matches GitHub
This commit is contained in:
commit
1586bc668f
@ -48,7 +48,7 @@ public class JaxbIntegrationTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void unMashal() throws JAXBException, IOException {
|
public void unmarshal() throws JAXBException, IOException {
|
||||||
Unmarshaller unmarshaller = context.createUnmarshaller();
|
Unmarshaller unmarshaller = context.createUnmarshaller();
|
||||||
String bookFile = this.getClass().getResource("/book.xml").getFile();
|
String bookFile = this.getClass().getResource("/book.xml").getFile();
|
||||||
Book unMarshallerbook = (Book) unmarshaller.unmarshal(new FileReader(bookFile));
|
Book unMarshallerbook = (Book) unmarshaller.unmarshal(new FileReader(bookFile));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user