Assert.assertNotNull(astFile);
Assert.assertTrue(astFile.getAbsolutePath().endsWith(".json"));
Assert.assertTrue("AST file exists", astFile.exists());
// call
final AstBlueprint astBlueprint = astParserService.fromAst(astFile, AstFormat.JSON);
// assert
Assert.assertNotNull(astBlueprint);
Assert.assertEquals(apiName, astBlueprint.getName());
Assert.assertEquals(resourceGroupCount, astBlueprint.getResourceGroups().size());
}