JAVA-20898 Check Article Code Matches GitHub

This commit is contained in:
anuragkumawat
2023-04-30 23:44:05 +05:30
parent b86c3a6f15
commit e376dfdc86

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));