mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-27 12:42:47 +00:00
e9139c8a38
_Ref._: -9c62daa35d
-e739cd8f5d
23 lines
508 B
Java
23 lines
508 B
Java
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");
|
|
}
|
|
} |