}
private Loop createTestLoop(String loopName, String loopBlueprint, String loopSvg) {
- return new Loop(loopName, loopSvg);
+ return new Loop(loopName);
}
@Test
assertThat(microServicePolicyService.isExisting("policyName")).isTrue();
}
- @Test
- @Transactional
- public void testGetSvgRepresentation() {
- saveTestLoopToDb();
- String svgRepresentation = loopController.getSvgRepresentation(EXAMPLE_LOOP_NAME);
- assertThat(svgRepresentation).isEqualTo("representation");
- }
-
@Test
@Transactional
public void testAddAndRemoveOperationalPolicies() throws IOException {