aboutsummaryrefslogtreecommitdiff
path: root/bamboo-specs/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'bamboo-specs/src/test')
-rw-r--r--bamboo-specs/src/test/java/tutorial/PlanSpecTest.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/bamboo-specs/src/test/java/tutorial/PlanSpecTest.java b/bamboo-specs/src/test/java/tutorial/PlanSpecTest.java
new file mode 100644
index 0000000..0c05f55
--- /dev/null
+++ b/bamboo-specs/src/test/java/tutorial/PlanSpecTest.java
@@ -0,0 +1,15 @@
+package tutorial;
+
+import com.atlassian.bamboo.specs.api.builders.plan.Plan;
+import com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException;
+import com.atlassian.bamboo.specs.api.util.EntityPropertiesBuilders;
+import org.junit.Test;
+
+public class PlanSpecTest {
+ @Test
+ public void checkYourPlanOffline() throws PropertiesValidationException {
+ Plan plan = new PlanSpec().createPlan();
+
+ EntityPropertiesBuilders.build(plan);
+ }
+}