Skip to content

Commit

Permalink
Added test for thingId placeholder
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Michalski <Philipp.Michalski@bosch-si.com>
  • Loading branch information
Philipp Michalski authored and Philipp Michalski committed Jul 24, 2018
1 parent e1778b3 commit 8943ba2
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -75,12 +75,16 @@ public void testThingPlaceholder() {
assertThat(underTest.apply("testTargetAmqpCon4_{{thing:namespace}}:{{thing:name}}", thingPlaceholder))
.isEqualTo(
"testTargetAmqpCon4_eclipse:ditto");

assertThat(underTest.apply("testTargetAmqpCon4_{{thing:id}}", thingPlaceholder))
.isEqualTo("testTargetAmqpCon4_eclipse:ditto");
}

@Test
public void testThingPlaceholderDebug() {
assertThat(underTest.apply("testTargetAmqpCon4_{{thing:namespace}}:{{thing:name}}", thingPlaceholder))
.isEqualTo("testTargetAmqpCon4_eclipse:ditto");

}


Expand Down

0 comments on commit 8943ba2

Please sign in to comment.