1717import static org .assertj .core .api .Assertions .assertThat ;
1818import static org .assertj .core .api .Assertions .assertThatThrownBy ;
1919
20- @ DisplayName ("Cursor Rule Generator Tests" )
21- class CursorRuleGeneratorTest {
20+ @ DisplayName ("Cursor Rules Generator Tests" )
21+ class CursorRulesGeneratorTest {
2222
23- private static final Logger logger = LoggerFactory .getLogger (CursorRuleGeneratorTest .class );
23+ private static final Logger logger = LoggerFactory .getLogger (CursorRulesGeneratorTest .class );
2424
2525 @ Nested
2626 @ DisplayName ("Parameterized Generate Method Tests" )
@@ -30,7 +30,7 @@ class ParameterizedGenerateMethodTests {
3030 @ DisplayName ("Should throw exception when XML file does not exist" )
3131 void should_throwException_when_xmlFileDoesNotExist () {
3232 // Given
33- CursorRuleGenerator generator = new CursorRuleGenerator ();
33+ CursorRulesGenerator generator = new CursorRulesGenerator ();
3434
3535 // When & Then - Updated for functional API exception handling
3636 assertThatThrownBy (() -> generator .generate ("non-existent.xml" , "cursor-rules.xsl" ))
@@ -44,7 +44,7 @@ void should_throwException_when_xmlFileDoesNotExist() {
4444 @ DisplayName ("Should throw exception when XSLT file does not exist" )
4545 void should_throwException_when_xsltFileDoesNotExist () {
4646 // Given
47- CursorRuleGenerator generator = new CursorRuleGenerator ();
47+ CursorRulesGenerator generator = new CursorRulesGenerator ();
4848
4949 // When & Then - Updated for functional API exception handling
5050 assertThatThrownBy (() -> generator .generate ("112-java-maven-documentation.xml" , "non-existent.xsl" ))
@@ -64,7 +64,7 @@ class UnifiedXsltGeneratorTests {
6464 @ DisplayName ("Should generate exact content matching original expected document using unified XSLT" )
6565 void should_generateExactContentMatchingOriginalExpected_when_transformingWithUnifiedXslt (String baseFileName ) throws IOException {
6666 // Given
67- CursorRuleGenerator generator = new CursorRuleGenerator ();
67+ CursorRulesGenerator generator = new CursorRulesGenerator ();
6868 String expectedContent = loadExpectedContent (baseFileName + ".mdc" );
6969
7070 // When
@@ -120,7 +120,7 @@ private String loadExpectedContent(String filename) throws IOException {
120120 @ DisplayName ("Should produce consistent content structure regardless of XML content type" )
121121 void should_produceConsistentStructure_when_processingDifferentXmlTypes () throws IOException {
122122 // Given
123- CursorRuleGenerator generator = new CursorRuleGenerator ();
123+ CursorRulesGenerator generator = new CursorRulesGenerator ();
124124
125125 // When
126126 String checklistGuideResult = generator .generate ("100-java-checklist-guide.xml" , "cursor-rules.xsl" , "pml.xsd" );
0 commit comments