{
  "jira_key": "AN-91",
  "passed": true,
  "test_matrix": [
    {
      "name": "InvoiceReminderService is public and declared with sharing",
      "type": "positive",
      "description": "Inspect the class declaration and confirm it is public and includes the with sharing modifier.",
      "acceptance_criterion": "InvoiceReminderService is a public class declared with sharing."
    },
    {
      "name": "InvoiceReminderService declaration is missing a required modifier",
      "type": "negative",
      "description": "Confirm a declaration that is not public or omits with sharing is identified as non-compliant.",
      "acceptance_criterion": "InvoiceReminderService is a public class declared with sharing."
    },
    {
      "name": "dueStatus takes no arguments and returns due",
      "type": "positive",
      "description": "Call dueStatus with no arguments and verify that it returns the exact string \"due\".",
      "acceptance_criterion": "InvoiceReminderService.dueStatus takes no arguments and returns the string \"due\"."
    },
    {
      "name": "dueStatus has an incorrect signature or return value",
      "type": "negative",
      "description": "Confirm that a method requiring arguments or returning a value other than \"due\" is identified as non-compliant.",
      "acceptance_criterion": "InvoiceReminderService.dueStatus takes no arguments and returns the string \"due\"."
    },
    {
      "name": "Apex test is annotated and asserts the expected result",
      "type": "positive",
      "description": "Inspect InvoiceReminderServiceTest for the @isTest annotation and an assertion that dueStatus returns \"due\".",
      "acceptance_criterion": "InvoiceReminderServiceTest is annotated @isTest and asserts that dueStatus returns \"due\"."
    },
    {
      "name": "Apex test annotation or assertion is missing",
      "type": "negative",
      "description": "Confirm a test class without @isTest or without an assertion for the expected return value is identified as non-compliant.",
      "acceptance_criterion": "InvoiceReminderServiceTest is annotated @isTest and asserts that dueStatus returns \"due\"."
    },
    {
      "name": "ApexDoc comments are present",
      "type": "manual",
      "description": "Review the source and verify ApexDoc comments document both the class and the public dueStatus method.",
      "acceptance_criterion": "The class and the public method have ApexDoc comments."
    },
    {
      "name": "ApexDoc comments are missing or incomplete",
      "type": "negative",
      "description": "Confirm that missing ApexDoc comments on either the class or the public method is identified as non-compliant.",
      "acceptance_criterion": "The class and the public method have ApexDoc comments."
    }
  ],
  "apex_tests_run": 0,
  "apex_tests_passed": 0,
  "apex_failures": [],
  "manual_scenarios": [
    "Review InvoiceReminderService.cls to verify the public with sharing declaration and ApexDoc comments on the class and public method.",
    "Review InvoiceReminderServiceTest.cls to verify @isTest and an assertion that dueStatus returns \"due\".",
    "Run the Apex test suite in Salesforce to confirm the test compiles and passes."
  ],
  "summary": "No Apex failures were reported, and the test matrix covers the acceptance criteria with positive, negative, and manual scenarios.",
  "notes": "Apex tests were not run (tests_run: 0); the generated files include Apex classes, so execution remains an unverified manual scenario."
}