Skip to content

Commit

Permalink
Added Test case in JavascriptClientCodegenTest
Browse files Browse the repository at this point in the history
  • Loading branch information
mann0530 committed Nov 6, 2023
1 parent a470f30 commit 70324a7
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,13 @@ public void testIsJsonIsXmlInProduces() throws Exception {
}
}

@Test(description = "test additional properties for code generation")
public void testAdditionalProperties() throws Exception {
final JavascriptClientCodegen codegen = new JavascriptClientCodegen();
codegen.additionalProperties().put("customProperty", "customValue");
codegen.processOpts();

Assert.assertEquals(codegen.additionalProperties().get("customProperty"), "customValue");
}

}

0 comments on commit 70324a7

Please sign in to comment.