Skip to content

Commit

Permalink
Add process test
Browse files Browse the repository at this point in the history
  • Loading branch information
micryc authored and frantuma committed Jan 15, 2024
1 parent 16ec5eb commit 796edea
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,15 @@ public void checkDefaultSkippedPackages(){
assertTrue(modelConverters.skippedPackages.contains("groovy.lang"));
}

@Test(description = "It should not process skipped package")
public void ignoreSkippedPackage() throws ClassNotFoundException {
ModelConverters modelConverters = ModelConverters.getInstance();
final Type type = Class.forName("java.lang.String");
assertNull(modelConverters.readAllAsResolvedSchema(type));


}

@JsonSerialize(as = AnnotatedImplementationClass.class)
abstract class BaseClass {
public abstract String field();
Expand Down

0 comments on commit 796edea

Please sign in to comment.