Skip to content

Commit

Permalink
issue_122 use generated asseertion package or default
Browse files Browse the repository at this point in the history
  • Loading branch information
Барабанов Тимофей Андреевич committed Sep 17, 2024
1 parent e2e4d1b commit 3254b16
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,11 +497,11 @@ private String generateAssertionEntryPointMethodsFor(final Set<ClassDescription>
// resolve class assert (ex: PlayerAssert)
// in case of inner classes like Movie.PublicCategory, class assert will be MoviePublicCategoryAssert
assertionEntryPointMethodContent = replace(assertionEntryPointMethodContent, CUSTOM_ASSERTION_CLASS,
classDescription.getFullyQualifiedAssertClassName());
getAssertClassName(classDescription));
// resolve class (ex: Player)
// in case of inner classes like Movie.PublicCategory use class name with outer class i.e. Movie.PublicCategory.
assertionEntryPointMethodContent = replace(assertionEntryPointMethodContent, CLASS_TO_ASSERT,
getAssertClassName(classDescription));
classDescription.getFullyQualifiedClassName());

allAssertThatsContentBuilder.append(lineSeparator).append(assertionEntryPointMethodContent);
}
Expand Down

0 comments on commit 3254b16

Please sign in to comment.