JAVA-20898 Check Article Code Matches GitHub

This commit is contained in:
anuragkumawat 2023-04-30 23:44:05 +05:30
parent 2d2c842d2f
commit 3c5042ebf8

View File

@ -48,7 +48,7 @@ public class JaxbIntegrationTest {
}
@Test
public void unMashal() throws JAXBException, IOException {
public void unmarshal() throws JAXBException, IOException {
Unmarshaller unmarshaller = context.createUnmarshaller();
String bookFile = this.getClass().getResource("/book.xml").getFile();
Book unMarshallerbook = (Book) unmarshaller.unmarshal(new FileReader(bookFile));