1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-07 10:50:53 +00:00
plantuml/test/test/example/TestExample.java
The-Lum e11d974ce5 refactor: place net.sourceforge.plantuml.test on test.utils
Create `test` folder with:
- `example`
- `utils`

And put all `net.sourceforge.plantuml.test` on `test.utils`.
_[no other change]_
2024-02-12 19:13:02 +00:00

23 lines
492 B
Java

package test.example;
import static test.utils.PlantUmlTestUtils.exportDiagram;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.jupiter.api.Test;
class TestExample {
@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");
}
}