This commit is contained in:
Arnaud Roques 2024-02-01 18:53:33 +01:00
commit 7a200019e6
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
package testhelper;
import static net.sourceforge.plantuml.test.PlantUmlTestUtils.exportDiagram;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.jupiter.api.Test;
class TestHelper {
@Test
public void test_help_themes() throws Exception {
final String output = exportDiagram(
"@startuml",
"help themes",
"@enduml"
).asString();
assertThat(output)
.startsWith(" \nHelp on themes")
.contains("bluegray", "hacker");
}
}