@Test public void testModification() throws Exception { final PackageInfoModifier.Modification mod = modifier.modify("com.edugility.jaxb"); assertNotNull(mod); assertEquals(PackageInfoModifier.Modification.Kind.MODIFIED, mod.getKind()); validateTwoAnnotations(mod); }
@Test public void testPackageInfoWithEmptyXmlJavaTypeAdaptersAnnotation() throws Exception { final PackageInfoModifier.Modification mod = modifier.modify("com.edugility.jaxb.emptyxmljavatypeadaptersannotation"); assertNotNull(mod); assertEquals(PackageInfoModifier.Modification.Kind.MODIFIED, mod.getKind()); validateOneAnnotation(mod); }