This scenario tests that the schema contains a valid extension with a setter, then verifies that the function correctly extracts the extension from the schema and returns it without an error.
Tests Scenario: Extension Not Present
This scenario tests the function when the schema does not contain any extension & verifies that the function returns nil without an error when no extension is found in the schema.
Tests Scenario: Extension Present
This scenario tests that the schema contains a valid extension with a setter, then verifies that the function correctly extracts the extension from the schema and returns it without an error.
Tests Scenario: Extension Not Present
This scenario tests the function when the schema does not contain any extension & verifies that the function returns nil without an error when no extension is found in the schema.